-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
using Istio 0.6 the following error occurs when the KUBECONFIG environment variable contains multiple paths:
export KUBECONFIG=$HOME/.kube/config:$HOME/.kube/acs-bookinfo-istio
kubectl apply -f <(istioctl kube-inject --debug -f samples/bookinfo/kube/bookinfo.yaml)
Error: kubernetes configuration file "/Users/xxx/.kube/config:/Users/xxx/.kube/acs-bookinfo-istio" does not exist
kubectl supports colon separated paths https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable but istio is not currently supporting it https://github.com/istio/istio/blob/master/pilot/pkg/serviceregistry/kube/client.go#L52
original report https://groups.google.com/forum/#!topic/istio-users/ozJqhLgfr04