dotfiles/.bin/k8sh
2026-01-05 15:00:16 -03:00

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 -