Skip to content

Commit

Permalink
Switch ClusterRoleBinding for hivemq-platform-operator to RoleBinding
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnerbart committed Jun 19, 2024
1 parent 7899c65 commit 909da88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/hivemq-platform-operator/templates/bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ subjects:
name: {{ include "hivemq-platform-operator.serviceAccountName" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: "hivemq-platform-operator-role-binding-{{.Release.Name}}"
roleRef:
Expand Down
12 changes: 6 additions & 6 deletions manifests/hivemq-platform-operator/bindings.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
# Source: hivemq-platform-operator/templates/bindings.yml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: "hivemq-platform-operator-role-binding-my-operator"
name: "hivemq-platform-operator-view-my-operator"
roleRef:
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
name: "hivemq-platform-operator-role-my-operator"
name: view
subjects:
- kind: ServiceAccount
name: hivemq-platform-operator-my-operator
namespace: default
---
# Source: hivemq-platform-operator/templates/bindings.yml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: "hivemq-platform-operator-view-my-operator"
name: "hivemq-platform-operator-role-binding-my-operator"
roleRef:
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
name: view
name: "hivemq-platform-operator-role-my-operator"
subjects:
- kind: ServiceAccount
name: hivemq-platform-operator-my-operator
namespace: default

0 comments on commit 909da88

Please sign in to comment.