-
Notifications
You must be signed in to change notification settings - Fork 60
Application explorer is broken if KUBECONFIG
env var is set
#3382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
KUBECONFIG
env var is set
I have a PR started for this. The main blocker I ran into is that you can configure multiple KUBECONFIG files: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/#linux-1 |
the library we are using to load the kube config doesn't handle multiple kube config well |
datho7561
added a commit
to datho7561/vscode-openshift-tools
that referenced
this issue
Oct 2, 2023
- Watch for changes in file(s) indicated by `KUBECONFIG` when it's set - Warn when multiple config files are specified in `KUBECONFIG`, since the Kubernetes client library we are using doesn't support this use case Closes redhat-developer#3382 Signed-off-by: David Thompson <[email protected]>
datho7561
added a commit
to datho7561/vscode-openshift-tools
that referenced
this issue
Oct 6, 2023
- Watch for changes in file(s) indicated by `KUBECONFIG` when it's set - Warn when multiple config files are specified in `KUBECONFIG`, since the Kubernetes client library we are using doesn't support this use case Closes redhat-developer#3382 Signed-off-by: David Thompson <[email protected]>
datho7561
added a commit
to datho7561/vscode-openshift-tools
that referenced
this issue
Oct 19, 2023
- Watch for changes in file(s) indicated by `KUBECONFIG` when it's set - Warn when multiple config files are specified in `KUBECONFIG`, since the Kubernetes client library we are using doesn't support this use case Closes redhat-developer#3382 Signed-off-by: David Thompson <[email protected]>
datho7561
added a commit
to datho7561/vscode-openshift-tools
that referenced
this issue
Oct 20, 2023
- Watch for changes in file(s) indicated by `KUBECONFIG` when it's set - Force users to pick one file when multiple config files are specified in `KUBECONFIG`, since the Kubernetes client library we are using doesn't support using multiple files Closes redhat-developer#3382 Signed-off-by: David Thompson <[email protected]>
datho7561
added a commit
that referenced
this issue
Oct 20, 2023
- Watch for changes in file(s) indicated by `KUBECONFIG` when it's set - Force users to pick one file when multiple config files are specified in `KUBECONFIG`, since the Kubernetes client library we are using doesn't support using multiple files Closes #3382 Signed-off-by: David Thompson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce:
export KUBECONFIG='~/folder/config.yaml'
in~/.bashrc
or similarcrc
or Sandbox (this will create new entries in your new~/folder/config.yaml
for crc or sandbox)expected: crc/sandbox is shown in the application explorer (the top item in the sidebar)
actual: there are three buttons: "Login", "Select Kubernetes Context", "Add OpenShift Cluster", and they are disabled
The text was updated successfully, but these errors were encountered: