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
16 lines
No EOL
404 B
Bash
Executable file
16 lines
No EOL
404 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
NGINX_CONFIGMAP=$(kubectl -n infctl create configmap php-config --from-file files/ctl/php/local.ini --dry-run=client -oyaml)
|
|
|
|
if [ -z "$NGINX_CONFIGMAP" ]; then
|
|
echo "Failed to create NGINX configmap."
|
|
exit 1
|
|
fi
|
|
echo "$NGINX_CONFIGMAP" | kubectl apply -f -
|
|
if [ $? -ne 0 ]; then
|
|
echo "Failed to apply NGINX configmap."
|
|
exit 1
|
|
fi
|
|
echo "NGINX configmap created successfully." |