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
done
TLS=""
case $KCONTEXT in
gcloud)
TLS="--tls"
esac
[[ $DEBUG == "true" ]] && echo "helm $finalopts $TLS --kubeconfig=$HOME/.kube/${KCONTEXT}_config"
command helm $finalopts $TLS --kubeconfig=$HOME/.kube/${KCONTEXT}_config
[[ $DEBUG == "true" ]] && echo "helm $finalopts --kubeconfig=$HOME/.kube/${KCONTEXT}_config"
command helm $finalopts --kubeconfig=$HOME/.kube/${KCONTEXT}_config
}
function kexec {
RAN=false