This repository was archived by the owner on Apr 17, 2025. It is now read-only.
File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 23
23
{{- if .Values.hrq.enabled }}
24
24
- --enable-hrq
25
25
{{- end }}
26
+ {{- if $hncIncludeNamespacesRegex}}
27
+ - --included-namespace-regex={{ $hncIncludeNamespacesRegex }}
28
+ {{- end }}
26
29
{{- range $hncExcludeNamespace := .Values.hncExcludeNamespaces}}
27
30
- --excluded-namespace={{ $hncExcludeNamespace }}
28
31
{{- end }}
Original file line number Diff line number Diff line change 22
22
{{- if .Values.hrq.enabled }}
23
23
- --enable-hrq
24
24
{{- end }}
25
+ {{- if $hncIncludeNamespacesRegex}}
26
+ - --included-namespace-regex={{ $hncIncludeNamespacesRegex }}
27
+ {{- end }}
25
28
{{- range $hncExcludeNamespace := .Values.hncExcludeNamespaces}}
26
29
- --excluded-namespace={{ $hncExcludeNamespace }}
27
30
{{- end }}
Original file line number Diff line number Diff line change 2
2
repository : gcr.io/k8s-staging-multitenancy/hnc-manager
3
3
tag : v1.1.0
4
4
imagePullPolicy : {}
5
+ # Regex of namespaces for HNC to manage
6
+ # example include everything except openshift.*
7
+ # hncIncludeNamespacesRegex: ([^o].*|o([^p].*)|op([^e].*)|ope([^n].*)|open([^s].*)|opens([^h].*)|opensh([^i].*)|openshi([^f].*)|openshif([^t].*))
8
+ hncIncludeNamespacesRegex : " "
5
9
# A list of namespaces to add the HNC exclude label to
6
10
hncExcludeNamespaces :
7
11
- hnc-system
You can’t perform that action at this time.
0 commit comments