2020-11-26 13:21:10 +00:00
|
|
|
{{- if not .Values.argo }}
|
|
|
|
|
2021-04-19 10:46:42 +00:00
|
|
|
{{- $artifacts := list "calico" "cert-manager" "kiam" "aws-node-termination-handler" "aws-ebs-csi-driver" "aws-efs-csi-driver" "local-volume-provisioner" "local-path-provisioner" "istio" "istio-ingress" "metrics" "logging" "argocd" "timemachine" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
{{- if .Values.global }}
|
|
|
|
global:
|
|
|
|
{{- toYaml .Values.global | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- range $artifacts }}
|
|
|
|
{{- if index $.Values . }}
|
|
|
|
{{ . }}:
|
|
|
|
enabled: {{ index $.Values . "enabled" }}
|
2020-11-30 09:49:38 +00:00
|
|
|
namespace: {{ default "kube-system" ( index $.Values . "namespace" ) }}
|
|
|
|
crds: {{ default false ( index $.Values . "crds" ) }}
|
2020-11-26 13:21:10 +00:00
|
|
|
values:
|
|
|
|
{{- include (print . "-values") $ | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- end }}
|