12 lines
174 B
Plaintext
12 lines
174 B
Plaintext
|
|
#!/usr/bin/env bash
|
||
|
|
|
||
|
|
case "$1" in
|
||
|
|
mycloud)
|
||
|
|
shift
|
||
|
|
command kubectl --kubeconfig=<(pass show mycloud/kubeconfig) "${@}"
|
||
|
|
;;
|
||
|
|
*)
|
||
|
|
command kubectl "${@}"
|
||
|
|
;;
|
||
|
|
esac
|