Argocd - Add capability to set resource.exclutions on argocd-cm

This commit is contained in:
chocopowwwa 2019-10-10 15:58:08 +07:00
parent c9524a4690
commit 6b1e5ca787
2 changed files with 11 additions and 0 deletions

View file

@ -38,6 +38,10 @@ data:
resource.customizations: | resource.customizations: |
{{ toYaml .Values.config.resourceCustomizations | indent 4 }} {{ toYaml .Values.config.resourceCustomizations | indent 4 }}
{{- end }} {{- end }}
{{- if .Values.config.resourceExclusions }}
resource.exclusions: |
{{ toYaml .Values.config.resourceExclusions | indent 4 }}
{{- end }}
{{- if .Values.config.configManagementPlugins }} {{- if .Values.config.configManagementPlugins }}
configManagementPlugins: | configManagementPlugins: |
{{ toYaml .Values.config.configManagementPlugins | indent 4 }} {{ toYaml .Values.config.configManagementPlugins | indent 4 }}

View file

@ -83,6 +83,13 @@ clusterAdminAccess:
config: config:
createSecret: true createSecret: true
enableAnonymousAccess: false enableAnonymousAccess: false
resourceExclusions:
# - apiGroups:
# - "*"
# kinds:
# - "*"
# clusters:
# - https://192.168.0.20
helmRepositories: helmRepositories:
# - name: privateRepo # - name: privateRepo
# url: http://chartmuseum.privatecloud.com # url: http://chartmuseum.privatecloud.com