Skip to content

Commit

Permalink
Merge pull request #136 from aandryashin/master
Browse files Browse the repository at this point in the history
Fixed namespace creation.
  • Loading branch information
vania-pooh authored Apr 26, 2022
2 parents 0fb148b + d33db6b commit b61a36d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions moon2/templates/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
{{- 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
metadata:
name: {{ $quota.namespace }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit b61a36d

Please sign in to comment.