Add Longhorn setup script and integrate into setup-all.sh

This commit is contained in:
2025-05-24 10:18:32 -07:00
parent 51ff5a6c42
commit bb925d56da
5 changed files with 5229 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -e
SCRIPT_PATH="$(realpath "${BASH_SOURCE[0]}")"
SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
cd "$SCRIPT_DIR"
if [[ -f "../load-env.sh" ]]; then
source ../load-env.sh
fi
echo "Setting up Longhorn..."
# Apply Longhorn with kustomize to apply our customizations
kubectl apply -k ${SCRIPT_DIR}/longhorn/
echo "Longhorn setup complete!"