Helm command with kubeconfig inline
Try to specify kubeconfig file through kubectl command.
kubectl config SUBCOMMAND
Options
-h, --help=false: help for config --kubeconfig="": use a particular kubeconfig file
On the other hand, you can try to change build agent account (e.g. your account) and check whether it can find the kubeconfig file (permission issue)
'helm init' command discovers your Kubernetes cluster's configuration by reading $KUBECONFIG variable(default '~/.kube/config') and using the default Kubernetes context. If you are using a different config file then you have to change $KUBECONFIG value so that helm gets info about your cluster from the correct config file.
Change the $KUBECONFIG value
export KUBECONFIG=/path_to_your_kubeconfig_file
To be on safe side use the --kube-contex flag to specify the current context
helm init --kube-context CONTEXT_NAME --upgrade
Check helm client and tiller version using
helm version