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

Investigate alternative for Kuberos for user authentication #1203

Closed
3 tasks
digitalronin opened this issue Aug 29, 2019 · 8 comments
Closed
3 tasks

Investigate alternative for Kuberos for user authentication #1203

digitalronin opened this issue Aug 29, 2019 · 8 comments
Assignees
Labels
tech-debt covers everything from bugs to legacy code, to missing documentation

Comments

@digitalronin
Copy link
Contributor

digitalronin commented Aug 29, 2019

We use Kuberos to enable users to authenticate to the cluster. But, it's now unmaintained, so we should switch to something else instead.

Initially we were considering kubehook, however that hasn't been updated for 8 months.

This is a spike to look at alternatives (which might also include Kubehook).

Approach:

  • See what is aviailable
  • does it meet our needs?
  • how well supported is it?

Definition of Done:

  • identify alternatives
  • comparison and recommendation on a replacement
  • create new issue for replacement
@AntonyBishop AntonyBishop added tech-debt covers everything from bugs to legacy code, to missing documentation and removed innovation labels Oct 8, 2019
@AntonyBishop AntonyBishop changed the title Switch from Kuberos to Kubehook, for user authentication Investigate alternative for Kuberos for user authentication Oct 8, 2019
@AntonyBishop
Copy link
Contributor

Stale story. Revisit if need arises.

@AntonyBishop
Copy link
Contributor

Revisiting

@poornima-krishnasamy
Copy link
Contributor

Can Gangway help here? https://github.com/heptiolabs/gangway

@pwyborn pwyborn self-assigned this Apr 19, 2021
@davidread
Copy link
Contributor

@davidread
Copy link
Contributor

@pwyborn
Copy link
Contributor

pwyborn commented Apr 19, 2021

Think Gangway has issues re multi-clusters?
vmware-archive/gangway#62

@poornima-krishnasamy
Copy link
Contributor

Other solution is kube-login. https://github.com/int128/kubelogin
But, If we use kube-login, we need to share the Auth0 credentials to all users for authenticating to the cluster.
int128/kubelogin#414.

@poornima-krishnasamy poornima-krishnasamy self-assigned this May 11, 2021
@poornima-krishnasamy
Copy link
Contributor

poornima-krishnasamy commented May 14, 2021

Below are the options explored:

Kubelogin:
https://github.com/int128/kubelogin
client-go plugin. Kubectl plugin when run, opens the browser and you can log in to the provider. Then kubelogin gets a token from the provider and kubectl access Kubernetes APIs with the token.
Pros:

  • easy usage
  • works with Auth0 and hence can be mapped with github groups

Cons:

  • Sharing single Auth0 credentials to users

kubehook:
Kubehook is a webhook token authentication service for Kubernetes. It provides one API endpoint to generate JSON Web Tokens, and another to validate tokens on behalf of Kubernetes.
Pros:

  • JWT token to which you can set expiration

Cons:

  • Not maintained
  • No integration path with Auth0

Gangway:
Pros:

  • the app work fine

Cons:

  • it hasn’t had a release since Sep 2019 though there are commits until Oct 2020

Based on investigating the above plugins, we have decided to patch kuberos and take ownership of the repository including helm chart.

Another project to lookout is discussed in the channel here: https://mojdt.slack.com/archives/C514ETYJX/p1621421963072900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt covers everything from bugs to legacy code, to missing documentation
Projects
None yet
Development

No branches or pull requests

5 participants