From cfc070b169561b514dfa02418d6d1039649da37a Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 2 Sep 2021 10:14:54 +0530 Subject: [PATCH] deploy: remove ceph-conf cm in helm installation removed the ceph-conf configmap as a workaround to avoid helm installation issue. Signed-off-by: Madhu Rajanna --- scripts/install-helm.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install-helm.sh b/scripts/install-helm.sh index f60fa405b..e405d747f 100755 --- a/scripts/install-helm.sh +++ b/scripts/install-helm.sh @@ -173,9 +173,11 @@ install_cephcsi_helm_charts() { check_deployment_status app=ceph-csi-cephfs ${NAMESPACE} check_daemonset_status app=ceph-csi-cephfs ${NAMESPACE} - # deleting configmap as a workaround to avoid configmap already present + # deleting configmaps as a workaround to avoid configmap already present # issue when installing ceph-csi-rbd kubectl_retry delete cm ceph-csi-config --namespace ${NAMESPACE} + kubectl_retry delete cm ceph-config --namespace ${NAMESPACE} + # shellcheck disable=SC2086 "${HELM}" install --namespace ${NAMESPACE} --set provisioner.fullnameOverride=csi-rbdplugin-provisioner --set nodeplugin.fullnameOverride=csi-rbdplugin --set configMapName=ceph-csi-config --set provisioner.podSecurityPolicy.enabled=true --set nodeplugin.podSecurityPolicy.enabled=true --set provisioner.replicaCount=1 ${SET_SC_TEMPLATE_VALUES} ${RBD_SECRET_TEMPLATE_VALUES} ${RBD_CHART_NAME} "${SCRIPT_DIR}"/../charts/ceph-csi-rbd --set topology.enabled=true --set topology.domainLabels="{${NODE_LABEL_REGION},${NODE_LABEL_ZONE}}" --set provisioner.maxSnapshotsOnImage=3 --set provisioner.minSnapshotsOnImage=2