10 lines
123 B
Bash
Executable file
10 lines
123 B
Bash
Executable file
#!/bin/bash
|
|
|
|
file="$1"
|
|
verb="$2"
|
|
|
|
[ -f ".env" ] && source .env
|
|
|
|
set -x
|
|
|
|
cat $file | envsubst | kubectl "${verb:-get}" -f -
|