Skip to content

Commit

Permalink
fix(rbac): reduce permissions to minimum required (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
pborn-ionos authored Oct 16, 2023
1 parent 1da8a96 commit 0e168e8
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions charts/octopinger/templates/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,38 @@ metadata:
{{- include "octopinger.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
rules:
- apiGroups:
- '*'
- octopinger.io
resources:
- '*'
- octopingers
verbs:
- '*'
- nonResourceURLs:
- '*'
- apiGroups:
- ""
resources:
- pods
verbs:
- '*'
- list
- get
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- list
- get
- update
- watch
- delete
- create
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- list
- get
- update
- watch
- delete
- create

0 comments on commit 0e168e8

Please sign in to comment.