2020-11-30 17:30:06 +00:00
|
|
|
{{- define "argocd-values" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
argo-cd:
|
|
|
|
controller:
|
|
|
|
metrics:
|
|
|
|
enabled: {{ .Values.metrics.enabled }}
|
|
|
|
repoServer:
|
|
|
|
metrics:
|
|
|
|
enabled: {{ .Values.metrics.enabled }}
|
|
|
|
server:
|
|
|
|
metrics:
|
|
|
|
enabled: {{ .Values.metrics.enabled }}
|
2020-11-30 17:30:06 +00:00
|
|
|
{{- with index .Values "argocd" "server" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2020-11-30 17:30:06 +00:00
|
|
|
{{- with index .Values "argocd" "configs" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
configs:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2020-11-30 17:30:06 +00:00
|
|
|
{{- if and ( index .Values "argocd" "istio" "enabled" ) .Values.istio.enabled }}
|
2020-11-26 13:21:10 +00:00
|
|
|
istio:
|
2020-11-30 17:30:06 +00:00
|
|
|
{{- with index .Values "argocd" "istio" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
2020-11-30 17:30:06 +00:00
|
|
|
{{- with index .Values "argocd" "kubezero" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
kubezero:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- end }}
|