KubeZero/charts/kubezero/templates/argocd.yaml

38 lines
848 B
YAML
Raw Normal View History

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 }}
{{- with index .Values "argocd" "argocd-applicationset" }}
argocd-applicationset:
{{ toYaml . | nindent 2 }}
{{- end }}
2020-11-26 13:21:10 +00:00
{{- end }}
{{- define "argocd-argo" }}
2020-11-26 13:21:10 +00:00
{{- end }}
{{ include "kubezero-app.app" . }}