add direct CONTEXT to kubectl helm
This commit is contained in:
parent
59bc04333a
commit
051ab834ef
@ -234,7 +234,7 @@ function gitcopy() {
|
||||
fi
|
||||
}
|
||||
function kubectl() {
|
||||
CONTEXT=gcloud
|
||||
CONTEXT=${CONTEXT:-gcloud}
|
||||
DEBUG=false
|
||||
finalopts=()
|
||||
while [[ $@ != "" ]] do
|
||||
@ -283,7 +283,7 @@ function stern {
|
||||
command stern $finalopts -t --since 10m --kubeconfig=$HOME/.kube/${CONTEXT}_config
|
||||
}
|
||||
function helm() {
|
||||
CONTEXT=gcloud
|
||||
CONTEXT=${CONTEXT:-gcloud}
|
||||
DEBUG=false
|
||||
finalopts=()
|
||||
while [[ $@ != "" ]] do
|
||||
|
Loading…
Reference in New Issue
Block a user