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
309 B
Bash
Executable file
16 lines
309 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
echo ""
|
|
echo ""
|
|
|
|
temp_file=$(mktemp)
|
|
|
|
kubectl -n infctl create secret generic aws-credentials -o yaml --dry-run=client \
|
|
--from-literal access-key=$AWS_ACCESS_KEY_ID \
|
|
--from-literal secret-key=$AWS_SECRET_ACCESS_KEY > "$temp_file"
|
|
|
|
|
|
kubectl apply -f $temp_file
|
|
rm $temp_file
|
|
|
|
|