Skip to content

Commit 7f580ac

Browse files
committed
Fix YAML document separator in operator RBAC
Helm doesn't render webhook `ClusterRole` if `clustermongodbroles` RBAC is not rendered due to `operator.enableClusterMongoDBRoles` being set to `false`.
1 parent 12f6503 commit 7f580ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm_chart/templates/operator-roles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ subjects:
142142
namespace: {{ include "mongodb-kubernetes-operator.namespace" $ }}
143143
{{- end }}
144144

145-
---
146145

147146
{{- if .Values.operator.enableClusterMongoDBRoles }}
147+
---
148148
kind: ClusterRole
149149
apiVersion: rbac.authorization.k8s.io/v1
150150
metadata:

0 commit comments

Comments
 (0)