Skip to content

Commit

Permalink
fix permissions to include the api group
Browse files Browse the repository at this point in the history
  • Loading branch information
royhadad committed Jul 6, 2023
1 parent d4fb1a0 commit 43ae95c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/datree-admission-webhook/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ metadata:
annotations: {{ toYaml . | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- "user.openshift.io"
resources:
- "groups"
verbs:
- "list"
- apiGroups:
- ""
resources:
- "nodes"
- "namespaces"
- "groups"
verbs:
- "get"
- "list"
Expand Down

0 comments on commit 43ae95c

Please sign in to comment.