From ac94cd5fae77e219fddbead785d7e4e4064110a9 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Thu, 5 Mar 2026 15:24:24 +0000 Subject: [PATCH] refactor: update storage class configuration in ci-values.yaml and index.sh --- HelmChart/Tests/ci-values.yaml | 2 +- HelmChart/Tests/index.sh | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HelmChart/Tests/ci-values.yaml b/HelmChart/Tests/ci-values.yaml index a886295df0..b87c4c47c2 100644 --- a/HelmChart/Tests/ci-values.yaml +++ b/HelmChart/Tests/ci-values.yaml @@ -1,5 +1,5 @@ global: - storageClass: local-path + storageClass: "" host: localhost httpProtocol: http diff --git a/HelmChart/Tests/index.sh b/HelmChart/Tests/index.sh index 61d9a595e5..2bef3fd355 100644 --- a/HelmChart/Tests/index.sh +++ b/HelmChart/Tests/index.sh @@ -81,11 +81,12 @@ if ! kind get clusters | grep -q "^${CLUSTER_NAME}$"; then kind create cluster --name "${CLUSTER_NAME}" --wait 180s fi -echo "KinD cluster is ready. Ensuring default StorageClass (local-path) is available." -# KinD already ships with a local-path-provisioner in local-path-storage namespace. -# Just wait for it to be ready and ensure the storage class is marked as default. +echo "KinD cluster is ready. Ensuring default StorageClass is available." +# KinD ships with a local-path-provisioner in local-path-storage namespace +# and a StorageClass named "standard". Wait for the provisioner and ensure +# the storage class is marked as default. kubectl wait --for=condition=Available --timeout=120s -n local-path-storage deploy/local-path-provisioner -kubectl annotate storageclass local-path storageclass.kubernetes.io/is-default-class="true" --overwrite || true +kubectl annotate storageclass standard storageclass.kubernetes.io/is-default-class="true" --overwrite || true echo "Cluster Nodes:" kubectl get nodes -o wide