2021-08-25 14:01:02 +00:00
|
|
|
{{- if and ( not .Values.argocdAppName ) ( not .Values.installKubeZero ) }}
|
|
|
|
# if no ArgoCD is used, only render the global values.yaml for all kubezero modules
|
2020-11-26 13:21:10 +00:00
|
|
|
|
2021-09-02 17:08:08 +00:00
|
|
|
{{- $artifacts := list "addons" "calico" "cert-manager" "kiam" "aws-ebs-csi-driver" "aws-efs-csi-driver" "istio" "istio-ingress" "metrics" "logging" "argocd" "storage" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
{{- 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 }}
|