Skip to content

Commit

Permalink
allow disabling the creation of namespaces defined in quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
croemmich committed Oct 2, 2023
1 parent 9170688 commit 67446b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moon2/templates/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- if or (not $quota) (not $quota.namespace) }}
{{- fail (printf "quota %s namespace is not set" $name) }}
{{- end }}
{{- if ne $quota.namespace $releaseNamespace }}
{{- if and (ne $quota.createNamespace false) (ne $quota.namespace $releaseNamespace) }}
---
apiVersion: v1
kind: Namespace
Expand Down

0 comments on commit 67446b2

Please sign in to comment.