@@ -53,18 +53,49 @@ It updates the application manifest with the provided values and deploys it to t
5353- Spec:
5454 - Destination:
5555 - Namespace: set to the target namespace
56- - Sources (first source):
56+ - Source or Sources: supports both singular ` source ` and multiple ` sources ` array formats
5757 - Chart: set to the Helm chart name
5858 - RepoURL: set to the Helm chart repository URL
5959 - TargetRevision: set to the Helm chart version
60- - Plugin - hoverkraft-deployment (if exists):
60+ - Plugin - hoverkraft-deployment (if exists in source or any sources [ ] ):
6161 - Environment variable ` HOVERKRAFT_DEPLOYMENT_ID ` : updated with the deployment ID to trigger sync detection
6262 - Helm Values:
6363 - Chart values: custom values provided via the ` chart-values ` input, allowing dynamic configuration of the Helm chart (e.g., application URIs, feature flags).
6464 - Deployment ID: injected as a value to identify the deployment instance within the chart values.
6565 - Vendor-specific values: additional values set for integrations, such as updating ` tags.datadoghq.com/version ` for Datadog monitoring/versioning.
6666
67- Example:
67+ Example with singular ` source ` format:
68+
69+ ``` yaml
70+ metadata :
71+ name : my-namespace
72+ annotations :
73+ argocd.argoproj.io/application-repository : https://github.com/my-org/my-app
74+ argocd.argoproj.io/deployment-id : deploy-1234
75+ spec :
76+ destination :
77+ namespace : my-namespace
78+ source :
79+ chart : my-chart
80+ repoURL : https://charts.example.com
81+ targetRevision : 1.2.3
82+ # If using ArgoCD plugin (optional):
83+ plugin :
84+ name : hoverkraft-deployment
85+ env :
86+ - name : HOVERKRAFT_DEPLOYMENT_ID
87+ value : deploy-1234
88+ helm :
89+ values :
90+ application :
91+ appUri : https://my-app-review-app-1234.my-org.com
92+ deploymentId : deploy-1234
93+ tags :
94+ datadoghq.com :
95+ version : 1.2.3
96+ ` ` `
97+
98+ Example with multiple ` sources` array format:
6899
69100` ` ` yaml
70101metadata:
0 commit comments