mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
15 lines
417 B
YAML
15 lines
417 B
YAML
|
---
|
||
|
kind: Role
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
namespace: "{{ .Namespace }}"
|
||
|
name: nfs-external-provisioner-cfg
|
||
|
rules:
|
||
|
# remove this once we stop supporting v1.0.0
|
||
|
- apiGroups: [""]
|
||
|
resources: ["configmaps"]
|
||
|
verbs: ["get", "list", "create", "delete"]
|
||
|
- apiGroups: ["coordination.k8s.io"]
|
||
|
resources: ["leases"]
|
||
|
verbs: ["get", "watch", "list", "delete", "update", "create"]
|