mirror of https://git.rancher.io/charts
16 lines
378 B
YAML
16 lines
378 B
YAML
|
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
|