-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support JWT auth #210
Support JWT auth #210
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit : I have no idea how github did this but it only showed 2 files changed, looking at the rest now..
👏🏽 Looks great, thanks!
parameters.VaultKubernetesMountPath = params["vaultKubernetesMountPath"] | ||
k8sMountPath, k8sSet := params["vaultKubernetesMountPath"] | ||
authMountPath, authSet := params["vaultAuthMountPath"] | ||
switch { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never seen this pattern of using switch statements this way in golang before, really cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤝
Thanks! |
Someone pointed out that JWT auth already works because the login endpoints are identical for kubernetes and JWT. This just improves the naming and adds an integration test for the purpose of regression testing so that we can officially document JWT auth as supported.