add kg hg
This commit is contained in:
parent
b796664efe
commit
dc19cf45bf
@ -250,6 +250,7 @@ function k() {
|
||||
shift $((OPTIND-1))
|
||||
kubectl $* --kubeconfig=$HOME/.kube/${CONTEXT}_config
|
||||
}
|
||||
alias kg="k -c qcloud"
|
||||
function h() {
|
||||
CONTEXT=gcloud
|
||||
while getopts ":c:" opt; do
|
||||
@ -267,6 +268,7 @@ function h() {
|
||||
esac
|
||||
helm $* $TLS --kubeconfig $HOME/.kube/${CONTEXT}_config
|
||||
}
|
||||
alias hg="h -c qcloud"
|
||||
function kexec {
|
||||
RAN=false
|
||||
CONTEXT=gcloud
|
||||
|
Loading…
Reference in New Issue
Block a user