Skip to content

Commit

Permalink
fix rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
kubasobon committed Oct 26, 2023
1 parent cf51ca3 commit d6136ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions helm/docs-indexer-app/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ metadata:
name: {{ .Values.name }}
namespace: {{ .Release.Namespace }}
rules:
{{- if not .Values.podSecurityStandards.enforced }}
- apiGroups:
- extensions
resourceNames:
- {{ .Values.name }}
resources:
- podsecuritypolicies
verbs:
- use
{{- end }}
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit d6136ff

Please sign in to comment.