Skip to content

Conversation

speza
Copy link
Contributor

@speza speza commented May 29, 2020

So this utilises echo groups to manage what endpoints have the auth middleware applied. This is nice a clean and lets us avoid using the nonProtectedPathsPrefix and nonProtectedPaths slices on every request.

Fixes #252.

@Skarlso
Copy link
Member

Skarlso commented Jun 3, 2020

@speza Did you have a chance to test this with a production build of Gaia as well making sure all elements like favico and such are displayed correctly?

@speza
Copy link
Contributor Author

speza commented Jun 3, 2020

@speza Did you have a chance to test this with a production build of Gaia as well making sure all elements like favico and such are displayed correctly?

@Skarlso what is the best way to build a production version? Build the Dockerfile?

@Skarlso
Copy link
Member

Skarlso commented Jun 3, 2020

@speza I actually started testing this for you. :) I wanted to make sure the build process still works anyways. Don't worry about it. :)

@Skarlso
Copy link
Member

Skarlso commented Jun 3, 2020

Tested this with a release. Seems to work fine. :) I used the Helm charts and a kubernetes release.

@Skarlso Skarlso merged commit 1c33963 into gaia-pipeline:master Jun 3, 2020
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

Successfully merging this pull request may close these issues.

Simplify the non restricted endpoint matches
2 participants