We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a8ddc1 commit f356e1eCopy full SHA for f356e1e
helm_chart/templates/operator-sa.yaml
@@ -9,15 +9,4 @@ metadata:
9
imagePullSecrets:
10
- name: {{ .Values.registry.imagePullSecrets }}
11
{{- end }}
12
-
13
-{{- $watchNamespace := include "mongodb-kubernetes-operator.namespace" . | list }}
14
-{{- if .Values.operator.watchNamespace }}
15
-{{- $watchNamespace = regexSplit "," .Values.operator.watchNamespace -1 }}
16
-{{- $watchNamespace = concat $watchNamespace (include "mongodb-kubernetes-operator.namespace" . | list) | uniq }}
17
-{{- end }}
18
19
-{{- $roleScope := "Role" -}}
20
-{{- if or (gt (len $watchNamespace) 1) (eq (first $watchNamespace) "*") }}
21
-{{- $roleScope = "ClusterRole" }}
22
23
{{- end }} {{/* if .Values.operator.createOperatorServiceAccount */}}
0 commit comments