fix: always create missing namespaces for kubezero modules
This commit is contained in:
parent
c35fddd714
commit
6f1db16a4f
@ -28,10 +28,10 @@ spec:
|
|||||||
server: {{ .Values.kubezero.server }}
|
server: {{ .Values.kubezero.server }}
|
||||||
namespace: {{ default "kube-system" ( index .Values $name "namespace" ) }}
|
namespace: {{ default "kube-system" ( index .Values $name "namespace" ) }}
|
||||||
|
|
||||||
{{- with .Values.kubezero.syncPolicy }}
|
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- toYaml . | nindent 4 }}
|
syncOptions:
|
||||||
{{- end }}
|
- CreateNamespace=true
|
||||||
|
{{- toYaml .Values.kubezero.syncPolicy | nindent 4 }}
|
||||||
|
|
||||||
{{- include (print $name "-argo") $ }}
|
{{- include (print $name "-argo") $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user