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
344 B
Bash
Executable file
9 lines
344 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if kubectl -n cert-manager get secret cloudflare-api-token-secret &>/dev/null; then
|
|
echo "Secret 'cloudflare-api-token-secret' already exists in 'cert-manager' namespace. Skipping."
|
|
exit 0
|
|
fi
|
|
|
|
kubectl create secret generic cloudflare-api-token-secret --from-literal=api-token=$API_TOKEN --namespace='cert-manager'
|
|
|