diff --git a/config/ks-core/templates/kubesphere-config.yaml b/config/ks-core/templates/kubesphere-config.yaml index 56d4b99fe..447f4cc12 100644 --- a/config/ks-core/templates/kubesphere-config.yaml +++ b/config/ks-core/templates/kubesphere-config.yaml @@ -1,3 +1,8 @@ +{{- if ne .Release.Namespace "kubesphere-system" }} +{{- fail "This Helm release must be installed in the 'kubesphere-system' namespace." }} +{{- end }} + +--- apiVersion: v1 kind: ConfigMap metadata: