Skip to content

Commit d7f1c4c

Browse files
docs: update actions and workflows documentation
[skip ci] Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ad2ab51 commit d7f1c4c

File tree

1 file changed

+34
-3
lines changed
  • actions/deploy/argocd-manifest-files

1 file changed

+34
-3
lines changed

actions/deploy/argocd-manifest-files/README.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
70101
metadata:

0 commit comments

Comments
 (0)