Skip to content

Commit

Permalink
add missing permissions for restart (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatousJobanek authored Jan 16, 2025
1 parent b87866f commit 80264d8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
31 changes: 29 additions & 2 deletions resources/roles/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,24 @@ objects:
provider: ksctl
rules:
- apiGroups:
- apps
- "apps"
resources:
- deployments
- "deployments"
verbs:
- "get"
- "list"
- "patch"
- "update"
- "watch"
- apiGroups:
- ""
resources:
- "pods"
verbs:
- "delete"
- "get"
- "list"
- "watch"

- kind: Role
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -287,3 +295,22 @@ objects:
- "get"
- "list"
- "delete"
- apiGroups:
- "apps"
resources:
- "deployments"
verbs:
- "get"
- "list"
- "patch"
- "update"
- "watch"
- apiGroups:
- ""
resources:
- "pods"
verbs:
- "delete"
- "get"
- "list"
- "watch"
12 changes: 10 additions & 2 deletions resources/roles/member.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,24 @@ objects:
provider: ksctl
rules:
- apiGroups:
- apps
- "apps"
resources:
- deployments
- "deployments"
verbs:
- "get"
- "list"
- "patch"
- "update"
- "watch"
- apiGroups:
- ""
resources:
- "pods"
verbs:
- "delete"
- "get"
- "list"
- "watch"

- kind: Role
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 80264d8

Please sign in to comment.