34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
kind: ClusterRole
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: {{ include "cf-vp.fullname" . }}
|
|
labels: {{- include "cf-vp.provisionerLabels" . | nindent 4 }}
|
|
rules:
|
|
- apiGroups: [ "" ]
|
|
resources: [ "persistentvolumes" ]
|
|
verbs: [ "get", "list", "watch", "create", "delete", "patch" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "persistentvolumeclaims" ]
|
|
verbs: [ "get", "list", "watch", "update", "delete" ]
|
|
- apiGroups: [ "storage.k8s.io" ]
|
|
resources: [ "storageclasses" ]
|
|
verbs: [ "get", "list", "watch" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "events" ]
|
|
verbs: [ "list", "watch", "create", "update", "patch" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "secrets" ]
|
|
verbs: [ "get", "list" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "nodes" ]
|
|
verbs: [ "get", "list", "watch" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "pods" ]
|
|
verbs: [ "get", "list", "watch", "create", "delete", "patch" ]
|
|
- apiGroups: [ "" ]
|
|
resources: [ "endpoints" ]
|
|
verbs: [ "get", "list", "watch", "create", "update", "delete" ]
|
|
- apiGroups: [ "coordination.k8s.io" ]
|
|
resources: [ "leases" ]
|
|
verbs: [ "get", "create", "update" ]
|