Skip to content

Commit 0bd7e29

Browse files
committed
Use RoleBinding instead of ClusterRoleBinding
Signed-off-by: Richard Wall <[email protected]>
1 parent 5679dc5 commit 0bd7e29

File tree

1 file changed

+2
-2
lines changed
  • deploy/charts/venafi-kubernetes-agent/templates

1 file changed

+2
-2
lines changed

deploy/charts/venafi-kubernetes-agent/templates/rbac.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ rules:
1111
verbs: ["create"]
1212
---
1313
apiVersion: rbac.authorization.k8s.io/v1
14-
kind: ClusterRoleBinding
14+
kind: RoleBinding
1515
metadata:
1616
name: {{ include "venafi-kubernetes-agent.fullname" . }}-event-emitted
1717
labels:
1818
{{- include "venafi-kubernetes-agent.labels" . | nindent 4 }}
1919
roleRef:
2020
apiGroup: rbac.authorization.k8s.io
21-
kind: ClusterRole
21+
kind: Role
2222
name: {{ include "venafi-kubernetes-agent.fullname" . }}-event-emitted
2323
subjects:
2424
- kind: ServiceAccount

0 commit comments

Comments
 (0)