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

BUG: Failed to connect to kubernetes: can't be fetched #106

Open
droslean opened this issue Aug 25, 2023 · 1 comment
Open

BUG: Failed to connect to kubernetes: can't be fetched #106

droslean opened this issue Aug 25, 2023 · 1 comment

Comments

@droslean
Copy link

image

I am already using the kubeconfig with kubectl and it works as it should. It seems that the kube-forwarder doesn't work with it.

apiVersion: v1
clusters:
- cluster:
    server: https://my-api-domain
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: droslean@kubernetes
  name: kubernetes
current-context: kubernetes
kind: Config
preferences: {}
users:
- name: droslean@kubernetes
  user:
    auth-provider:
      config:
        client-id: kubernetes
        client-secret: ""
        id-token: XXXXXXXXXXX
        idp-certificate-authority-data: ""
        idp-issuer-url: https://my-idp-issuer-url
        refresh-token: XXXXXXXXXXXXXXXXXXXXXXXXXX
      name: oidc

It seems that kube-forwarder doesn't work with oidc at all.

@droslean
Copy link
Author

cc @proAlexandr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant