diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 28f08c73..62171767 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -39,6 +39,7 @@ $ helm install --name my-release argo/argo-cd | config.repositories | string | `nil` | Configuration for remote Git repositories for Applications, see [values.yaml](./values.yaml) for format | | config.resourceCustomizations | string | `nil` | resourceCustomizations can be used to create custom health checks for resources [https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/health.md#way-1-define-a-custom-health-check-in-argocd-cm-configmap] | | config.url | string | `nil` | External URL for ArgoCD | +| config.instanceLabelKey | string | `nil` | Custom instance label key | | config.webhook.bitbucketSecret | string | `nil` | BitBucket incoming webhook secret | | config.webhook.githubSecret | string | `nil` | GitHub incoming webhook secret | | config.webhook.gitlabSecret | string | `nil` | GitLab incoming webhook secret | diff --git a/charts/argo-cd/templates/argocd-cm.yaml b/charts/argo-cd/templates/argocd-cm.yaml index 98467bb8..9dd30561 100755 --- a/charts/argo-cd/templates/argocd-cm.yaml +++ b/charts/argo-cd/templates/argocd-cm.yaml @@ -24,6 +24,9 @@ data: {{- if .Values.config.url }} url: {{ .Values.config.url }} {{- end }} +{{- if .Values.config.instanceLabelKey }} + application.instanceLabelKey: {{ .Values.config.instanceLabelKey }} +{{- end }} {{- if .Values.config.oidcConfig }} oidc.config: | {{ toYaml .Values.config.oidcConfig | indent 4 }}