How do delegates share information like Helm chart contents within the same stage?
The process of sharing information between delegates within the same stage in Harness follows this flow:
Task T1 - Downloading values.yaml File:
Harness Manager creates Task T1, instructing it to download the
values.yamlfile.Delegate1 is assigned Task T1, and it retrieves the
values.yamlfile from the designated source (for example, Git/Remote).Delegate1 then sends the contents of the
values.yamlfile back to Harness Manager.
Task T2 - Downloading and Applying Manifest Files:
After receiving the
values.yamlfile content, Harness Manager creates Task T2.Task T2 includes the content of the
values.yamlfile.Delegate2 is assigned Task T2.
Delegate2's Actions:
Delegate2 executes the following actions:
Downloads the manifest files from the specified source (for example, Git, Remote, Helm Artifact Source).
Utilizes the content of the
values.yamlfile to render the manifest files, customizing them as needed.Applies the rendered manifest files to the target cluster.
Important Note: The output of Task T1 (values Fetch task) is the content of the values.yaml file. This content is then passed to Task T2, enabling Delegate2 to use it in rendering and applying the manifest files.
This process ensures that delegates effectively share information and utilize it as required for the deployment process within the same stage.