Skip to content

Commit

Permalink
changing userysnc to use a role and rolebinding instead of a cluster …
Browse files Browse the repository at this point in the history
…role and cluster rolebinding
  • Loading branch information
EliseCastle23 committed Mar 7, 2024
1 parent 2fdb1ec commit 05d8700
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helm/fence/templates/usersync-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: usersync-job
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
kind: Role
metadata:
name: usersync-job-role
rules:
Expand All @@ -14,12 +14,12 @@ rules:
verbs: ["get", "list", "watch", "create", "update", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: usersync-job-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
kind: Role
name: usersync-job-role
subjects:
- kind: ServiceAccount
Expand Down

0 comments on commit 05d8700

Please sign in to comment.