You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ switch --debug --kubeconfig-path /home/lucasvc/.kube/configs/ list-contexts
DEBU[0000] Using kubeconfig path from flag /home/lucasvc/.kube/configs/
DEBU[0000] Starting search for store: filesystem store=filesystem
empty list.
If I set a KUBECONFIG environment variable listing all the configuration files, on open switch allows the selection of the cluster/environment.
And with debug list,
$ switch --debug list-contexts
DEBU[0000] Adding kubeconfig path from KUBECONFIG env /home/lucasvc/.kube/configs/cl_A-dev-1.yaml.yaml:/home/lucasvc/.kube/configs/cl_A-stage-1.yaml:/home/lucasvc/.kube/configs/cl_B-dev-1.yaml:/home/lucasvc/.kube/configs/cl_B-stage-1.yaml
DEBU[0000] Adding kubeconfig path from KUBECONFIG env /home/lucasvc/.kube/configs/cl_A-dev-1.yaml.yaml:/home/lucasvc/.kube/configs/cl_A-stage-1.yaml:/home/lucasvc/.kube/configs/cl_B-dev-1.yaml:/home/lucasvc/.kube/configs/cl_B-stage-1.yaml
DEBU[0000] Adding kubeconfig path from KUBECONFIG env /home/lucasvc/.kube/configs/cl_A-dev-1.yaml.yaml:/home/lucasvc/.kube/configs/cl_A-stage-1.yaml:/home/lucasvc/.kube/configs/cl_B-dev-1.yaml:/home/lucasvc/.kube/configs/cl_B-stage-1.yaml
DEBU[0000] Adding kubeconfig path from KUBECONFIG env /home/lucasvc/.kube/configs/cl_A-dev-1.yaml.yaml:/home/lucasvc/.kube/configs/cl_A-stage-1.yaml:/home/lucasvc/.kube/configs/cl_B-dev-1.yaml:/home/lucasvc/.kube/configs/cl_B-stage-1.yaml
DEBU[0000] Starting search for store: filesystem store=filesystem
DEBU[0000] GetKubeconfigForPath: /home/lucasvc/.kube/configs/cl_A-dev-1.yaml.yaml not cached store=filesystem
DEBU[0000] GetKubeconfigForPath: /home/lucasvc/.kube/configs/cl_A-stage-1.yaml not cached store=filesystem
DEBU[0000] GetKubeconfigForPath: /home/lucasvc/.kube/configs/cl_B-dev-1.yaml not cached store=filesystem
DEBU[0000] GetKubeconfigForPath: /home/lucasvc/.kube/configs/cl_B-stage-1.yaml not cached store=filesystem
cl_B-dev-1
cl_B-stage-1
cl_A-dev-1
cl_A-stage-1
The text was updated successfully, but these errors were encountered:
I have the following file structure
For two different clusters (
cl_A
andcl_B
) and two environments for each cluster (dev
andstage
).When executing
I got a
0/0
.Also tried debug list,
empty list.
If I set a
KUBECONFIG
environment variable listing all the configuration files, on openswitch
allows the selection of the cluster/environment.And with debug list,
The text was updated successfully, but these errors were encountered: