From 8801b25b2c0e53eb28812c7ed0926be5f6ae54e4 Mon Sep 17 00:00:00 2001 From: GanghyeonSeo Date: Wed, 12 Nov 2025 20:48:19 +0900 Subject: [PATCH] external: unify variable quoting style in importClusterID Standardized the quoting for variables inside the importClusterID function of import-external-cluster.sh to improve consistency Signed-off-by: GanghyeonSeo --- deploy/examples/import-external-cluster.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/examples/import-external-cluster.sh b/deploy/examples/import-external-cluster.sh index 93d86a91d..01e2906a6 100644 --- a/deploy/examples/import-external-cluster.sh +++ b/deploy/examples/import-external-cluster.sh @@ -125,13 +125,13 @@ eof function importClusterID() { if [ -n "$RADOS_NAMESPACE" ]; then createRadosNamespaceCR - timeout 20 sh -c "until [ \$($KUBECTL -n \"$NAMESPACE\" get CephBlockPoolRadosNamespace/$RADOS_NAMESPACE -o jsonpath='{.status.phase}' | grep -c 'Ready') -eq 1 ]; do echo 'waiting for radosNamespace to get created' && sleep 1; done" + timeout 20 sh -c "until [ \$($KUBECTL -n $NAMESPACE get CephBlockPoolRadosNamespace/$RADOS_NAMESPACE -o jsonpath='{.status.phase}' | grep -c 'Ready') -eq 1 ]; do echo 'waiting for radosNamespace to get created' && sleep 1; done" CLUSTER_ID_RBD=$($KUBECTL -n "$NAMESPACE" get cephblockpoolradosnamespace.ceph.rook.io/"$RADOS_NAMESPACE" -o jsonpath='{.status.info.clusterID}') RBD_STORAGE_CLASS_NAME=ceph-rbd-$RADOS_NAMESPACE fi if [ -n "$SUBVOLUME_GROUP" ]; then createSubvolumeGroupCR - timeout 20 sh -c "until [ \$($KUBECTL -n \"$NAMESPACE\" get CephFilesystemSubVolumeGroup/$SUBVOLUME_GROUP -o jsonpath='{.status.phase}' | grep -c 'Ready') -eq 1 ]; do echo 'waiting for subVolumeGroup to get created' && sleep 1; done" + timeout 20 sh -c "until [ \$($KUBECTL -n $NAMESPACE get CephFilesystemSubVolumeGroup/$SUBVOLUME_GROUP -o jsonpath='{.status.phase}' | grep -c 'Ready') -eq 1 ]; do echo 'waiting for subVolumeGroup to get created' && sleep 1; done" CLUSTER_ID_CEPHFS=$($KUBECTL -n "$NAMESPACE" get cephfilesystemsubvolumegroup.ceph.rook.io/"$SUBVOLUME_GROUP" -o jsonpath='{.status.info.clusterID}') CEPHFS_STORAGE_CLASS_NAME=cephfs-$SUBVOLUME_GROUP fi