argo-cd: allow anonymous access (#117)

pull/118/head
Gustav Paul 2019-09-20 15:50:19 -07:00 committed by Alex Collins
parent 2bb14b2e30
commit 6e08a5ee50
3 changed files with 5 additions and 1 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.2.0" appVersion: "1.2.0"
description: A Helm chart for Argo-CD description: A Helm chart for Argo-CD
name: argo-cd name: argo-cd
version: 0.5.1 version: 0.5.2

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