Skip to content

Commit f7514d0

Browse files
committed
fix: Always create the operator ClusterRoleBinding
serviceAccount.create gated both the ServiceAccount and the ClusterRoleBinding. I couldn't find a reason why so this changes it.
1 parent 2fedd14 commit f7514d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/deploy/helm/[[operator]]/templates/serviceaccount.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
annotations:
1111
{{- toYaml . | nindent 4 }}
1212
{{- end }}
13+
{{- end }}
1314
---
1415
apiVersion: rbac.authorization.k8s.io/v1
1516
# This cluster role binding allows anyone in the "manager" group to read secrets in any namespace.
@@ -26,4 +27,3 @@ roleRef:
2627
kind: ClusterRole
2728
name: {{ include "operator.fullname" . }}-clusterrole
2829
apiGroup: rbac.authorization.k8s.io
29-
{{- end }}

0 commit comments

Comments
 (0)