Skip to content

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

Open
@trasba

Description

@trasba

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 👋

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @trasba

        Issue actions

          whitelist rule not working with arm64 images or images <= 2.2 · Issue #350 · thomseddon/traefik-forward-auth