argo-cd: allow anonymous access

This commit is contained in:
Gustav Paul 2019-09-20 14:57:18 -07:00
parent 2bb14b2e30
commit b51960ea95
No known key found for this signature in database
GPG key ID: 8C8805624DCA7758
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,9 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: argocd app.kubernetes.io/part-of: argocd
data: data:
{{- if .Values.config.enableAnonymousAccess }}
users.anonymous.enabled: {{ .Values.config.enableAnonymousAccess }}
{{- end }}
{{- if .Values.config.helmRepositories }} {{- if .Values.config.helmRepositories }}
helm.repositories: | helm.repositories: |
{{ toYaml .Values.config.helmRepositories | indent 4 }} {{ toYaml .Values.config.helmRepositories | indent 4 }}

View file

@ -77,6 +77,7 @@ clusterAdminAccess:
config: config:
createSecret: true createSecret: true
enableAnonymousAccess: false
helmRepositories: helmRepositories:
# - name: privateRepo # - name: privateRepo
# url: http://chartmuseum.privatecloud.com # url: http://chartmuseum.privatecloud.com