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 1313 - clustermongodbroles
1414---
1515# Source: mongodb-kubernetes/templates/operator-roles.yaml
16- ---
1716# Additional ClusterRole for clusterVersionDetection
1817kind : ClusterRole
1918apiVersion : rbac.authorization.k8s.io/v1
Original file line number Diff line number Diff line change @@ -173,11 +173,11 @@ subjects:
173173{{- end }}
174174
175175{{- end }}
176- ---
177176
178177{{/* This cluster role and binding is necessary to allow the operator to automatically register ValidatingWebhookConfiguration. */}}
179178{{- if and .Values.operator.webhook.registerConfiguration .Values.operator.webhook.installClusterRole }}
180179{{- if not (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "mongodb-kubernetes-operator-mongodb-webhook") }}
180+ ---
181181kind : ClusterRole
182182apiVersion : rbac.authorization.k8s.io/v1
183183metadata :
You can’t perform that action at this time.
0 commit comments