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

whitelist rule not working with arm64 images or images <= 2.2 #350

Open
trasba opened this issue Apr 29, 2023 · 0 comments
Open

whitelist rule not working with arm64 images or images <= 2.2 #350

trasba opened this issue Apr 29, 2023 · 0 comments

Comments

@trasba
Copy link

trasba commented Apr 29, 2023

Hi it took me a while to sort this out. I thought it might be helpful for other people with the same issue.

If you run a docker image with a tag <= 2.2, whitelist in rules is not gonna work.
This also means that no arm(64/v7) image is going to work because the latest arm image is 2.2
The reason is simply the function is not included in the 2.2 release of thomseddon/traefik-forward-auth. The documentation is documenting something that was not included in any release. The code was added after the last release.
An indication telling you that this is your problem is an error like:
invalid route param whitelist
I buildt a container with the latest code and it was working like a charm.

A very easy fix for arm users craving for that very functionality is to use the fork (container) of jordemort (jordemort/traefik-forward-auth) he also merged several pull requests. Just use the docker image:
ghcr.io/jordemort/traefik-forward-auth:latest

cheers 👋

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

No branches or pull requests

1 participant