You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: images/argocd-cmp-hk-deployment/README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,17 @@ Docker base image for the Hoverkraft ArgoCD custom CMP (Config Management Plugin
6
6
7
7
-**Image purpose:** Provides a containerized environment for ArgoCD to render and manage Hoverkraft deployments using Helm and Kustomize, with support for multi-source and single-source workflows.
8
8
-**Key scripts:**
9
+
-`entrypoint.sh`: call correct script depending of the argocd context
9
10
-`single-source.sh`: Renders a Helm chart and applies Kustomize overlays, outputting the final Kubernetes manifests. Supports injection of deployment ID and ArgoCD environment variables.
10
11
-`multi-sources.sh`: Generates a ConfigMap manifest for multi-source deployments, propagating the deployment ID.
11
12
-**Kustomize template:**`kustomize-template.yaml` is used by the scripts to inject deployment-specific configuration.
12
13
13
14
## Scripts
14
15
15
-
-`single-source.sh`: Entrypoint for single-source ArgoCD CMP integration. Expects a Helm chart in the working directory and outputs manifests to stdout. Honors the following environment variables:
16
+
-`entrypoint.sh`: Honors the following environment variables:
17
+
-`ARGOCD_APP_NAME`: name of the argocd application
18
+
-`ARGOCD_ENV_ARGOCD_MULTI_SOURCES`: is the argocd app multi-sources or not (0 or 1)
19
+
-`ARGOCD_ENV_DEBUG`: enable debug env output (0 or 1)
20
+
-`single-source.sh`: Expects a Helm chart in the working directory and outputs manifests to stdout. Honors the following environment variables:
16
21
-`ARGOCD_ENV_HOVERKRAFT_DEPLOYMENT_ID`
17
-
-`ARGOCD_APP_NAME`
18
-
-`ARGOCD_APP_NAMESPACE`
19
-
-`KUBE_VERSION`
20
-
-`multi-sources.sh`: Outputs a ConfigMap manifest with the deployment ID, suitable for multi-source workflows.
22
+
-`multi-sources.sh`: Outputs a ConfigMap manifest with the deployment ID, suitable for multi-source workflows. Honors the following environment variables:
0 commit comments