2024-01-26 16:02:05 +00:00
|
|
|
#
|
|
|
|
# /!\ DO NOT MODIFY THIS FILE
|
|
|
|
#
|
|
|
|
# This file has been automatically generated by Ceph-CSI yamlgen.
|
|
|
|
# The source for the contents can be found in the api/deploy directory, make
|
|
|
|
# your modifications there.
|
|
|
|
#
|
2024-03-14 19:19:00 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: "nfs-csi-provisioner"
|
|
|
|
namespace: "default"
|
|
|
|
|
2022-03-30 08:06:07 +00:00
|
|
|
---
|
|
|
|
kind: ClusterRole
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: nfs-external-provisioner-runner
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["nodes"]
|
|
|
|
verbs: ["get", "list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["secrets"]
|
|
|
|
verbs: ["get", "list"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["events"]
|
|
|
|
verbs: ["list", "watch", "create", "update", "patch"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["persistentvolumes"]
|
2022-07-20 06:34:10 +00:00
|
|
|
verbs: ["get", "list", "watch", "create", "update", "delete", "patch"]
|
2022-03-30 08:06:07 +00:00
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["persistentvolumeclaims"]
|
|
|
|
verbs: ["get", "list", "watch", "update"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
|
|
resources: ["storageclasses"]
|
|
|
|
verbs: ["get", "list", "watch"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
|
|
resources: ["volumeattachments"]
|
|
|
|
verbs: ["get", "list", "watch", "update", "patch"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
|
|
resources: ["volumeattachments/status"]
|
|
|
|
verbs: ["patch"]
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["persistentvolumeclaims/status"]
|
|
|
|
verbs: ["update", "patch"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
|
|
resources: ["csinodes"]
|
|
|
|
verbs: ["get", "list", "watch"]
|
2022-05-16 07:20:43 +00:00
|
|
|
- apiGroups: ["snapshot.storage.k8s.io"]
|
|
|
|
resources: ["volumesnapshotclasses"]
|
|
|
|
verbs: ["get", "list", "watch"]
|
|
|
|
- apiGroups: ["snapshot.storage.k8s.io"]
|
|
|
|
resources: ["volumesnapshotcontents"]
|
|
|
|
verbs: ["get", "list", "watch", "update", "patch"]
|
|
|
|
- apiGroups: ["snapshot.storage.k8s.io"]
|
|
|
|
resources: ["volumesnapshotcontents/status"]
|
|
|
|
verbs: ["update", "patch"]
|
|
|
|
- apiGroups: ["snapshot.storage.k8s.io"]
|
|
|
|
resources: ["volumesnapshots"]
|
|
|
|
verbs: ["get", "list"]
|
2024-01-26 16:02:05 +00:00
|
|
|
|
2022-03-30 08:06:07 +00:00
|
|
|
---
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
2024-01-26 16:02:05 +00:00
|
|
|
name: "nfs-csi-provisioner-role"
|
2022-03-30 08:06:07 +00:00
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
2024-01-26 16:02:05 +00:00
|
|
|
name: "nfs-csi-provisioner"
|
|
|
|
namespace: "default"
|
2022-03-30 08:06:07 +00:00
|
|
|
roleRef:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: nfs-external-provisioner-runner
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
2024-01-26 16:02:05 +00:00
|
|
|
|
2022-03-30 08:06:07 +00:00
|
|
|
---
|
|
|
|
kind: Role
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
2024-01-26 16:02:05 +00:00
|
|
|
namespace: "default"
|
2022-03-30 08:06:07 +00:00
|
|
|
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"]
|
2024-01-26 16:02:05 +00:00
|
|
|
|
2022-03-30 08:06:07 +00:00
|
|
|
---
|
|
|
|
kind: RoleBinding
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
2024-01-26 16:02:05 +00:00
|
|
|
name: "nfs-csi-provisioner-role-cfg"
|
|
|
|
namespace: "default"
|
2022-03-30 08:06:07 +00:00
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
2024-01-26 16:02:05 +00:00
|
|
|
name: "nfs-csi-provisioner"
|
|
|
|
namespace: "default"
|
2022-03-30 08:06:07 +00:00
|
|
|
roleRef:
|
|
|
|
kind: Role
|
|
|
|
name: nfs-external-provisioner-cfg
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|