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

Error while adding AWS cluster created using kube-aws + authenticated with OIDC #16

Closed
AgrimPrasad opened this issue Jul 24, 2019 · 5 comments
Labels

Comments

@AgrimPrasad
Copy link

Might be related to #13 which is also about an OIDC authenticated k8s cluster.

  1. Installed kube-forwarder with brew cask install kube-forwarder
  2. Upgraded awscli: aws-cli/1.16.200 Python/3.7.4 Darwin/18.6.0 botocore/1.12.190

Tried to auto-add k8s clusters configured in ~/.kube/config from the kube-forwarder UI, but was unable to do so with errors similar to ENOENT: no such file or directory, open 'preprod/ca.pem'

Screenshot 2019-07-24 at 10 56 39 AM

@lnikell
Copy link
Member

lnikell commented Jul 24, 2019

@AgrimPrasad Thank you for your feedback, please download our latest version, we have not updated yet brew cask version of the app.

@AgrimPrasad AgrimPrasad changed the title Error will adding AWS cluster created using kube-aws + authenticated with OIDC Error while adding AWS cluster created using kube-aws + authenticated with OIDC Jul 25, 2019
@AgrimPrasad
Copy link
Author

@lnikell I just uninstalled the brew cask version, and then reinstalled using this link from the README: https://github.com/pixel-point/kube-forwarder/releases/latest/download/kube-forwarder.dmg

Still saw the same issue, and FWIW, both brew cask and the DMG versions seem to be v1.3.0

Screenshot 2019-07-25 at 8 56 14 AM

@lnikell
Copy link
Member

lnikell commented Jul 25, 2019

@AgrimPrasad ok it seems that there is an issue with resolving relative paths in production build, we will investigate. For the time being i guess it will help if you change prod/ca.pem to your absolute path something like /home/alex/.kube/prod/ca.pem

@AgrimPrasad
Copy link
Author

@lnikell Thanks for the update. I've configured the following now in ~/.kube/config:

- cluster:
    certificate-authority: /Users/agrim/.kube/preprod/ca.pem
    server: https://xxx.yyy
  name: preprod
- cluster:
    certificate-authority: /Users/agrim/.kube/prod/ca.pem
    server: https://xxx.yyy
  name: prod

However, this time the UI gets stuck on a spinner when ADD SELECTED CLUSTERS is clicked:

Screen Recording 2019-07-26 at 8 49 34 AM mov

@proAlexandr
Copy link
Contributor

@AgrimPrasad Hi, we've just released a new version. It should fix infinity loading. Could you please check it?

@lnikell lnikell closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants