apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ include "sachet.fullname" . }}-psp namespace: {{ include "sachet.namespace" . }} labels: {{ include "sachet.labels" . | nindent 4 }} rules: - apiGroups: - policy resourceNames: - {{ include "sachet.fullname" . }}-psp resources: - podsecuritypolicies verbs: - use