readme command line usage - to specify pipeline file name readme updated to include reasoning behind the project use native golang sqlite RunScriptCommand named in functionMap removed unused functions removed unused functions run script and pipeline example renamed functions to drop the word script and add pipeline verb
9 lines
367 B
Bash
Executable file
9 lines
367 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Check if there are any pods in the longhorn-system namespace
|
|
if kubectl -n longhorn-system get pods --no-headers 2>/dev/null | grep -q '^[^ ]'; then
|
|
echo "Pods already exist in the longhorn-system namespace. Skipping installation."
|
|
exit 0
|
|
fi
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.8.1/deploy/longhorn.yaml
|