kubeshop / monokle

Monokle is a set of OSS tools designed to help create and maintain high-quality Kubernetes configurations throughout the application lifecycle

Home Page:https://monokle.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monokle doesn't parse multiple-files KUBECONFIG variable. Separated by ":".

fog1985 opened this issue · comments

commented

Describe the bug
Monokle doesn't parse multiple-files KUBECONFIG variable. Separated by ":".
E.G.:
env | grep -i kube
KUBECONFIG=/Users/user/.kube/config:/Users/user/.kube/config_personal:/Users/user/.kube/config_other

it just says "No cluster detected".

To Reproduce
Steps to reproduce the behavior:

  1. Create multiple kubeconfig files. With server/context in each.
  2. Create env variable: export KUBECONFIG=/Users/user/.kube/config:/Users/user/.kube/config_personal:/Users/user/.kube/config_other
  3. Run monokle.
  4. Go into cluster discover mode.

Expected behavior
it parses multiple files in tha path and extracts all the possible contexts.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: [MacOS]
  • Version [13.4.1 (22F82) - Ventura]

Additional context
Add any other context about the problem here.

Thanks @fog1985 - digging in..