Skip to content

Commit 8c01c84

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongodb-kubernetes into remove-agent-matrix
2 parents 1705244 + e370e1f commit 8c01c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm_chart/templates/operator-roles.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ rules:
255255
- nodes
256256
verbs:
257257
- list
258-
{{- end}}
259258
---
260259
# ClusterRoleBinding for clusterVersionDetection
261260
kind: ClusterRoleBinding
@@ -270,4 +269,5 @@ subjects:
270269
- kind: ServiceAccount
271270
name: {{ .Values.operator.name }}
272271
namespace: {{ include "mongodb-kubernetes-operator.namespace" . }}
273-
{{- end }}
272+
{{- end}}{{/* if ne $telemetry.installClusterRole false */}}
273+
{{- end }}{{/* if ne $telemetry.enabled false */}}

0 commit comments

Comments
 (0)