Skip to content

Commit f06bb24

Browse files
committed
helm: remove csi RBAC from the operator
CSI template and RBAC's are shipped as another charts. we dont need to add the csi RBAC to the operator charts. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
1 parent 10a630f commit f06bb24

22 files changed

Lines changed: 1 addition & 1037 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ build-installer: manifests generate kustomize ## Generate a consolidated YAML wi
202202
build-helm-installer: manifests generate kustomize helmify ## Generate helm charts for the operator.
203203
mkdir -p build deploy
204204
cd build && echo "$$BUILD_INSTALLER_OVERLAY" > kustomization.yaml
205-
cd build && $(KUSTOMIZE) edit add resource ../config/default/
205+
cd build && $(KUSTOMIZE) edit add resource ../config/rbac ../config/manager ../config/crd
206206
$(KUSTOMIZE) build build | $(HELMIFY) deploy/charts/ceph-csi-operator
207207
rm -rf build
208208

deploy/charts/ceph-csi-operator/templates/cephfs-ctrlplugin-cr-rbac.yaml

Lines changed: 0 additions & 197 deletions
This file was deleted.

deploy/charts/ceph-csi-operator/templates/cephfs-ctrlplugin-crb-rbac.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

deploy/charts/ceph-csi-operator/templates/cephfs-ctrlplugin-r-rbac.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

deploy/charts/ceph-csi-operator/templates/cephfs-ctrlplugin-rb-rbac.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

deploy/charts/ceph-csi-operator/templates/cephfs-nodeplugin-cr-rbac.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

deploy/charts/ceph-csi-operator/templates/cephfs-nodeplugin-crb-rbac.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)