Skip to content

Commit

Permalink
update example deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Nov 3, 2020
1 parent 8618376 commit 07f50e9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions deploy/kube-fencing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ rules:
- apiGroups: [""]
resources: ["nodes/status"]
verbs: ["update", "patch"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["deletecollection"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["list", "watch", "deletecollection"]
---
# Source: kube-fencing/templates/switcher-rbac.yaml
kind: ClusterRole
Expand Down Expand Up @@ -70,10 +79,10 @@ metadata:
rules:
- apiGroups: ["batch", "extensions"]
resources: ["jobs"]
verbs: ["list", "watch", "get", "create", "update", "patch"]
verbs: ["list", "watch", "get", "create", "update", "patch", "delete"]
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "update", "patch"]
verbs: ["get", "update", "patch", "create"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create"]
Expand Down

0 comments on commit 07f50e9

Please sign in to comment.