Skip to content

Commit

Permalink
Limit the RBAC permissions for the PVC Cleaner example
Browse files Browse the repository at this point in the history
  • Loading branch information
perk-sumo committed Dec 29, 2020
1 parent 21a5089 commit f0af5fd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ metadata:

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
kind: Role
metadata:
name: pvc-cleaner
namespace: sumologic
rules:
- apiGroups:
- ""
Expand All @@ -36,12 +37,13 @@ rules:

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: pvc-cleaner
namespace: sumologic
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
kind: Role
name: pvc-cleaner
subjects:
- kind: ServiceAccount
Expand Down

0 comments on commit f0af5fd

Please sign in to comment.