diff --git a/bundle/manifests/cephcsi-operator.clusterserviceversion.yaml b/bundle/manifests/cephcsi-operator.clusterserviceversion.yaml index 1d5eb658..c0cbd468 100644 --- a/bundle/manifests/cephcsi-operator.clusterserviceversion.yaml +++ b/bundle/manifests/cephcsi-operator.clusterserviceversion.yaml @@ -4,7 +4,7 @@ metadata: annotations: alm-examples: '[]' capabilities: Basic Install - createdAt: "2024-11-11T08:04:43Z" + createdAt: "2024-11-11T08:52:44Z" olm.skipRange: "" operators.operatorframework.io/builder: operator-sdk-v1.34.1 operators.operatorframework.io/operator-type: non-standalone @@ -872,6 +872,13 @@ spec: - replicasets verbs: - get + - apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update serviceAccountName: ceph-csi-cephfs-ctrlplugin-sa - rules: - apiGroups: @@ -938,6 +945,13 @@ spec: - replicasets verbs: - get + - apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update serviceAccountName: ceph-csi-rbd-ctrlplugin-sa - rules: - apiGroups: @@ -960,6 +974,13 @@ spec: - replicasets verbs: - get + - apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update serviceAccountName: ceph-csi-rbd-nodeplugin-sa strategy: deployment installModes: diff --git a/config/csi-rbac/cephfs_ctrlplugin_role.yaml b/config/csi-rbac/cephfs_ctrlplugin_role.yaml index 79937014..cabfb628 100644 --- a/config/csi-rbac/cephfs_ctrlplugin_role.yaml +++ b/config/csi-rbac/cephfs_ctrlplugin_role.yaml @@ -15,3 +15,6 @@ rules: - apiGroups: ["apps"] resources: ["replicasets"] verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments/finalizers", "daemonsets/finalizers"] + verbs: ["update"] diff --git a/config/csi-rbac/rbd_ctrlplugin_role.yaml b/config/csi-rbac/rbd_ctrlplugin_role.yaml index ab8b74e7..9be22152 100644 --- a/config/csi-rbac/rbd_ctrlplugin_role.yaml +++ b/config/csi-rbac/rbd_ctrlplugin_role.yaml @@ -15,3 +15,6 @@ rules: - apiGroups: ["apps"] resources: ["replicasets"] verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments/finalizers", "daemonsets/finalizers"] + verbs: ["update"] diff --git a/config/csi-rbac/rbd_nodeplugin_role.yaml b/config/csi-rbac/rbd_nodeplugin_role.yaml index 436bfcd6..ae895ffc 100644 --- a/config/csi-rbac/rbd_nodeplugin_role.yaml +++ b/config/csi-rbac/rbd_nodeplugin_role.yaml @@ -12,3 +12,6 @@ rules: - apiGroups: ["apps"] resources: ["replicasets"] verbs: ["get"] + - apiGroups: ["apps"] + resources: ["deployments/finalizers", "daemonsets/finalizers"] + verbs: ["update"] diff --git a/deploy/all-in-one/install.yaml b/deploy/all-in-one/install.yaml index 04a27699..842935ec 100644 --- a/deploy/all-in-one/install.yaml +++ b/deploy/all-in-one/install.yaml @@ -14112,6 +14112,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -14191,6 +14198,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -14218,6 +14232,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/deploy/multifile/csi-rbac.yaml b/deploy/multifile/csi-rbac.yaml index 7a644ee6..935328f3 100644 --- a/deploy/multifile/csi-rbac.yaml +++ b/deploy/multifile/csi-rbac.yaml @@ -71,6 +71,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -109,6 +116,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -136,6 +150,13 @@ rules: - replicasets verbs: - get +- apiGroups: + - apps + resources: + - deployments/finalizers + - daemonsets/finalizers + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole