2018-08-22 16:16:13 +00:00
|
|
|
kind: ClusterRole
|
2020-04-14 20:14:04 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-08-22 16:16:13 +00:00
|
|
|
metadata:
|
|
|
|
name: psp:local-volume-provisioner
|
|
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- policy
|
|
|
|
resourceNames:
|
|
|
|
- local-volume-provisioner
|
|
|
|
resources:
|
|
|
|
- podsecuritypolicies
|
|
|
|
verbs:
|
|
|
|
- use
|