Adding option for resource customizations in ArgoCD

This commit is contained in:
Arnar Gauti Ingason 2019-05-07 14:26:15 +00:00
parent 8e324206f8
commit fae103590d
2 changed files with 12 additions and 0 deletions

View file

@ -28,3 +28,7 @@ data:
oidc.config: |
{{ toYaml .Values.config.oidcConfig | indent 4 }}
{{- end }}
{{- if .Values.config.resourceCustomizations }}
resource.customizations: |
{{ toYaml .Values.config.resourceCustomizations | indent 4 }}
{{- end }}

View file

@ -122,6 +122,14 @@ config:
githubSecret:
gitlabSecret:
bitbucketSecret:
# resourceCustomizations can be used to create custom health checks for resources
# https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/health.md#way-1-define-a-custom-health-check-in-argocd-cm-configmap
# resourceCustomizations:
# certmanager.k8s.io/Certificate:
# health.lua: |
# hs = {}
# ...
# return hs
rbac:
# # An RBAC policy .csv file containing additional policy and role definitions.
# # See https://github.com/argoproj/argo-cd/blob/master/docs/rbac.md on how to write RBAC policies.