diff --git a/zsh/functions.zsh b/zsh/functions.zsh index e0de4dc..58dae86 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -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