File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 13
13
- clustermongodbroles
14
14
---
15
15
# Source: mongodb-kubernetes/templates/operator-roles.yaml
16
- ---
17
16
# Additional ClusterRole for clusterVersionDetection
18
17
kind : ClusterRole
19
18
apiVersion : rbac.authorization.k8s.io/v1
Original file line number Diff line number Diff line change @@ -173,11 +173,11 @@ subjects:
173
173
{{- end }}
174
174
175
175
{{- end }}
176
- ---
177
176
178
177
{{/* This cluster role and binding is necessary to allow the operator to automatically register ValidatingWebhookConfiguration. */}}
179
178
{{- if and .Values.operator.webhook.registerConfiguration .Values.operator.webhook.installClusterRole }}
180
179
{{- if not (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "mongodb-kubernetes-operator-mongodb-webhook") }}
180
+ ---
181
181
kind : ClusterRole
182
182
apiVersion : rbac.authorization.k8s.io/v1
183
183
metadata :
You can’t perform that action at this time.
0 commit comments