From 1fd8b72cb251211d7e0a162107138ab287301308 Mon Sep 17 00:00:00 2001 From: Bipul Adhikari Date: Wed, 13 Nov 2024 15:21:27 +0545 Subject: [PATCH] manifests: Makes changes to manifests Signed-off-by: Bipul Adhikari --- .../{managaer_role.yaml => manager_role.yaml} | 0 deploy/all-in-one/install.yaml | 39 +++++++++++++++++++ deploy/multifile/operator.yaml | 39 +++++++++++++++++++ 3 files changed, 78 insertions(+) rename config/manager/{managaer_role.yaml => manager_role.yaml} (100%) diff --git a/config/manager/managaer_role.yaml b/config/manager/manager_role.yaml similarity index 100% rename from config/manager/managaer_role.yaml rename to config/manager/manager_role.yaml diff --git a/deploy/all-in-one/install.yaml b/deploy/all-in-one/install.yaml index 0a82cfc2..a555a0b9 100644 --- a/deploy/all-in-one/install.yaml +++ b/deploy/all-in-one/install.yaml @@ -14163,6 +14163,32 @@ rules: --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role +metadata: + name: ceph-csi-operator-manager-role + namespace: ceph-csi-operator-system +rules: +- apiGroups: + - certificates.k8s.io + resources: + - certificatesigningrequests + verbs: + - create + - update + - get + - list + - approve +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - update + - get + - list +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role metadata: name: ceph-csi-operator-rbd-ctrlplugin-r namespace: ceph-csi-operator-system @@ -15282,6 +15308,19 @@ subjects: --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding +metadata: + name: ceph-csi-operator-manager-role-binding + namespace: ceph-csi-operator-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: ceph-csi-operator-manager-role +subjects: +- kind: ServiceAccount + name: controller-manageer +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding metadata: name: ceph-csi-operator-rbd-ctrlplugin-rb namespace: ceph-csi-operator-system diff --git a/deploy/multifile/operator.yaml b/deploy/multifile/operator.yaml index d9da73c0..de983661 100644 --- a/deploy/multifile/operator.yaml +++ b/deploy/multifile/operator.yaml @@ -58,6 +58,32 @@ rules: - patch --- apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: ceph-csi-operator-manager-role + namespace: ceph-csi-operator-system +rules: +- apiGroups: + - certificates.k8s.io + resources: + - certificatesigningrequests + verbs: + - create + - update + - get + - list + - approve +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - update + - get + - list +--- +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: @@ -521,6 +547,19 @@ subjects: namespace: ceph-csi-operator-system --- apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: ceph-csi-operator-manager-role-binding + namespace: ceph-csi-operator-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: ceph-csi-operator-manager-role +subjects: +- kind: ServiceAccount + name: controller-manageer +--- +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: