Skip to content
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

VS Code OpenShift Toolkit extension does not detect connection on the cluster it is deployed on #4535

Open
vrubezhny opened this issue Oct 8, 2024 · 2 comments
Assignees
Labels

Comments

@vrubezhny
Copy link
Contributor

VS Code OpenShift Toolkit extension does not detect connection on the cluster it is deployed on even if VS Code Kubernetes is able to detect it.

See the details and Steps to Reproduce at: eclipse-che/che#23183

@adietish
Copy link
Contributor

adietish commented Oct 9, 2024

I cannot reproduce this locally. I have the Red Hat Sandbox set as current cluster:

apiVersion: v1
clusters:
- cluster:
    server: https://api.sandbox-XXXXX.openshiftapps.com:6443
  name: api-sandbox-XXXXX-openshiftapps-com:6443
contexts:
- context:
    cluster: api-sandbox-XXXXX-openshiftapps-com:6443
    namespace: adietish-dev
    user: adietish/api-sandbox-XXXXX-openshiftapps-com:6443
  name: adietish-dev/api-sandbox-XXXXX-openshiftapps-com:6443/adietish
current-context: adietish-dev/api-sandbox-XXXXX-openshiftapps-com:6443/adietish
kind: Config
preferences: {}
users:
- name: adietish/api-sandbox-XXXXX-openshiftapps-com:6443
  user:
    token: sha256~XXXXXXXX

When launching the plugin I am logged in, I get the cluster listed.
It's only when my token is outdated that I get the "Login" button instead.

@vrubezhny vrubezhny self-assigned this Oct 9, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Oct 16, 2024

@vrubezhny @adietish is it the same error - https://issues.redhat.com/browse/CRW-7526 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📝 In Progress
Development

No branches or pull requests

3 participants