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