Skip to content

Commit c930c9a

Browse files
committed
Fixed role binding for deployment operator
1 parent 03a572b commit c930c9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

manifests/templates/deployment/rbac.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ subjects:
5757
## the ArangoDeployment operator to the default service account
5858
## the is being used to run the operator deployment.
5959
apiVersion: rbac.authorization.k8s.io/v1beta1
60-
kind: RoleBinding
60+
kind: ClusterRoleBinding
6161
metadata:
62-
name: {{ .Deployment.Operator.RoleBindingName }}
63-
namespace: {{ .Deployment.Operator.Namespace }}
62+
name: {{ .Deployment.Operator.RoleBindingName }}-{{ .Deployment.Operator.Namespace }}
6463
roleRef:
6564
apiGroup: rbac.authorization.k8s.io
6665
kind: ClusterRole

0 commit comments

Comments
 (0)