From d33db6b2bd42bf1763e9315f0ee4a8e8cdea67a9 Mon Sep 17 00:00:00 2001 From: Alexander Andryashin Date: Tue, 26 Apr 2022 20:20:29 +0300 Subject: [PATCH] Fixed namespace creation. --- moon2/templates/namespaces.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/moon2/templates/namespaces.yaml b/moon2/templates/namespaces.yaml index e7fdd80..8692480 100644 --- a/moon2/templates/namespaces.yaml +++ b/moon2/templates/namespaces.yaml @@ -5,8 +5,6 @@ {{- fail (printf "quota %s namespace is not set" $name) }} {{- end }} {{- if ne $quota.namespace $releaseNamespace }} -{{- $createNS := not (lookup "v1" "Namespace" "" $quota.namespace) }} -{{- if $createNS }} --- apiVersion: v1 kind: Namespace @@ -14,4 +12,3 @@ metadata: name: {{ $quota.namespace }} {{- end }} {{- end }} -{{- end }}