-
-
Notifications
You must be signed in to change notification settings - Fork 943
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
providers/proxy: fix Traefik label generation for v3 #10411
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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'm assuming this fixed syntax also works with traefik 2.x?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10411 +/- ##
==========================================
+ Coverage 92.62% 92.64% +0.01%
==========================================
Files 714 714
Lines 35012 35014 +2
==========================================
+ Hits 32431 32438 +7
+ Misses 2581 2576 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Broke up the line so code line is not too long Signed-off-by: DriftDevil <[email protected]>
It does yes. |
Fixes #9786
Details
When deploying a proxy outpost, labels are added automatically which add the outpost to Traefik. For each single-forward provider a Host() label has to be used. Authentik generates these as Host(, , ...) which is not possible anymore since Traefik v3.0. This leads to an invalid deployment of the outpost.
This PR remedies that and created labels that separate the Host. i.e. (Host() || Host())