Remove kube tls

This commit is contained in:
Zhou Yicheng 2020-07-18 12:38:01 +08:00
parent 5c90c8ab0c
commit 7e29b20293

View File

@ -294,13 +294,8 @@ function helm() {
;; ;;
esac esac
done done
TLS="" [[ $DEBUG == "true" ]] && echo "helm $finalopts --kubeconfig=$HOME/.kube/${KCONTEXT}_config"
case $KCONTEXT in command helm $finalopts --kubeconfig=$HOME/.kube/${KCONTEXT}_config
gcloud)
TLS="--tls"
esac
[[ $DEBUG == "true" ]] && echo "helm $finalopts $TLS --kubeconfig=$HOME/.kube/${KCONTEXT}_config"
command helm $finalopts $TLS --kubeconfig=$HOME/.kube/${KCONTEXT}_config
} }
function kexec { function kexec {
RAN=false RAN=false