diff --git a/moon2/templates/namespaces.yaml b/moon2/templates/namespaces.yaml index 6891fc4..0f3fe95 100644 --- a/moon2/templates/namespaces.yaml +++ b/moon2/templates/namespaces.yaml @@ -4,6 +4,7 @@ {{- fail (printf "quota %s namespace is not set" $name) }} {{- end }} {{- if ne $quota.namespace $releaseNamespace }} +{{- if not $quota.skipCreateNamespace }} --- apiVersion: v1 kind: Namespace @@ -11,3 +12,4 @@ metadata: name: {{ $quota.namespace }} {{- end }} {{- end }} +{{- end }} diff --git a/moon2/values.yaml b/moon2/values.yaml index 6a9f91b..82a3093 100644 --- a/moon2/values.yaml +++ b/moon2/values.yaml @@ -482,6 +482,7 @@ browsers: ## moon: null ## alfa-team: ## namespace: alfa +## skipCreateNamespace: true ## serviceAccountName: custom ## serviceAccountAnnotations: {} ## beta-team: