Adding option for resource customizations in ArgoCD (#65)
This commit is contained in:
parent
315ea0516e
commit
baf210b4a3
2 changed files with 12 additions and 0 deletions
|
@ -28,6 +28,10 @@ data:
|
||||||
oidc.config: |
|
oidc.config: |
|
||||||
{{ toYaml .Values.config.oidcConfig | indent 4 }}
|
{{ toYaml .Values.config.oidcConfig | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.config.resourceCustomizations }}
|
||||||
|
resource.customizations: |
|
||||||
|
{{ toYaml .Values.config.resourceCustomizations | 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 }}
|
||||||
|
|
|
@ -122,6 +122,14 @@ config:
|
||||||
githubSecret:
|
githubSecret:
|
||||||
gitlabSecret:
|
gitlabSecret:
|
||||||
bitbucketSecret:
|
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
|
||||||
configManagementPlugins:
|
configManagementPlugins:
|
||||||
# - name: pluginName
|
# - name: pluginName
|
||||||
# init: # Optional command to initialize application source directory
|
# init: # Optional command to initialize application source directory
|
||||||
|
|
Loading…
Reference in a new issue