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
No EOL
326 B
Bash
Executable file
9 lines
No EOL
326 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
output=$(kubectl -n postgres-operator get pods --selector=postgres-operator.crunchydata.com/control-plane=postgres-operator --field-selector=status.phase=Running 2>&1)
|
|
if echo "$output" | grep -iq 'running'; then
|
|
echo "At least one pod is running."
|
|
else
|
|
echo "No running pods found."
|
|
exit 1
|
|
fi |