Argocd - Add capabiility to set resource.exclustions from values.yaml (#126)

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

* Argocd - Bump helm chart version to 0.6.0 and fix wrong app version
This commit is contained in:
ChocoPowwwa 2019-10-11 01:21:14 +07:00 committed by Alex Collins
parent c9524a4690
commit c237709456
3 changed files with 13 additions and 2 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v1 apiVersion: v1
appVersion: "1.2.0" appVersion: "1.2.1"
description: A Helm chart for Argo-CD description: A Helm chart for Argo-CD
name: argo-cd name: argo-cd
version: 0.5.4 version: 0.6.0
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png

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