Refactor installation scripts to use new configuration prompt helpers for improved user experience

This commit is contained in:
2025-06-29 15:40:56 -07:00
parent dab2551471
commit 8f513235e2
11 changed files with 90 additions and 156 deletions

View File

@@ -1,11 +1,14 @@
#!/bin/bash
set -e
set -o pipefail
if [ -z "${WC_HOME}" ]; then
echo "Please source the wildcloud environment first. (e.g., \`source ./env.sh\`)"
exit 1
fi
source "${WC_ROOT}/bin/wild-common.sh"
CLUSTER_SETUP_DIR="${WC_HOME}/setup/cluster"
UTILS_DIR="${CLUSTER_SETUP_DIR}/utils"
@@ -21,4 +24,4 @@ fi
echo "Applying utility manifests..."
kubectl apply -f ${UTILS_DIR}/kustomize/
echo "✅ Cluster utilities setup complete!"
echo "✅ Cluster utilities setup complete!"