Skip to content

Commit

Permalink
Merge pull request #226 from aandryashin/master
Browse files Browse the repository at this point in the history
Add skipCreateNamespace option.
  • Loading branch information
vania-pooh authored Oct 25, 2023
2 parents 428f7ca + 36df0e5 commit 9256f2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moon2/templates/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
{{- fail (printf "quota %s namespace is not set" $name) }}
{{- end }}
{{- if ne $quota.namespace $releaseNamespace }}
{{- if not $quota.skipCreateNamespace }}
---
apiVersion: v1
kind: Namespace
metadata:
name: {{ $quota.namespace }}
{{- end }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions moon2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ browsers:
## moon: null
## alfa-team:
## namespace: alfa
## skipCreateNamespace: true
## serviceAccountName: custom
## serviceAccountAnnotations: {}
## beta-team:
Expand Down

0 comments on commit 9256f2a

Please sign in to comment.