fix: always create missing namespaces for kubezero modules

This commit is contained in:
Stefan Reimer 2022-04-14 20:31:34 +02:00
parent c35fddd714
commit 6f1db16a4f

View File

@ -28,10 +28,10 @@ spec:
server: {{ .Values.kubezero.server }}
namespace: {{ default "kube-system" ( index .Values $name "namespace" ) }}
{{- with .Values.kubezero.syncPolicy }}
syncPolicy:
{{- toYaml . | nindent 4 }}
{{- end }}
syncOptions:
- CreateNamespace=true
{{- toYaml .Values.kubezero.syncPolicy | nindent 4 }}
{{- include (print $name "-argo") $ }}
{{- end }}