2020-11-30 17:30:06 +00:00
|
|
|
{{- define "argocd-values" }}
|
2021-08-25 14:01:02 +00:00
|
|
|
|
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 }}
|
|
|
|
|
2021-08-30 10:52:35 +00:00
|
|
|
{{- with index .Values "argocd" "argocd-applicationset" }}
|
|
|
|
argocd-applicationset:
|
|
|
|
{{ toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- end }}
|
|
|
|
|
2021-08-25 14:01:02 +00:00
|
|
|
{{- define "argocd-argo" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- end }}
|
2021-08-25 14:01:02 +00:00
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|