diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index d70d6d70..fc0e6bff 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.2.0" description: A Helm chart for Argo-CD name: argo-cd -version: 0.5.1 +version: 0.5.2 diff --git a/charts/argo-cd/templates/argocd-cm.yaml b/charts/argo-cd/templates/argocd-cm.yaml index 9dd30561..572da643 100644 --- a/charts/argo-cd/templates/argocd-cm.yaml +++ b/charts/argo-cd/templates/argocd-cm.yaml @@ -9,6 +9,9 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/part-of: argocd data: +{{- if .Values.config.enableAnonymousAccess }} + users.anonymous.enabled: {{ .Values.config.enableAnonymousAccess }} +{{- end }} {{- if .Values.config.helmRepositories }} helm.repositories: | {{ toYaml .Values.config.helmRepositories | indent 4 }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 7801208a..fcac647e 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -77,6 +77,7 @@ clusterAdminAccess: config: createSecret: true + enableAnonymousAccess: false helmRepositories: # - name: privateRepo # url: http://chartmuseum.privatecloud.com