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

Traefik IPWhiteList deprecated - IPAllowList #703

Open
georgejung opened this issue Mar 31, 2024 · 0 comments
Open

Traefik IPWhiteList deprecated - IPAllowList #703

georgejung opened this issue Mar 31, 2024 · 0 comments
Labels

Comments

@georgejung
Copy link

If you're reporting an issue with execution of the Ansible-NAS playbook, please run the playbook with -vvv, and ideally isolate the problematic part with --tags <ansible tag> where possible.

Describe the bug
Traefik has deprecated the IPwhitelist in favour of IPAllowList. I noticed it with Portainer and it also applies to Bitwarden.

Steps to reproduce

Use traefik and make portainer or bitwarden available externally.

Playbook Output
From traefik logs

time="2024-03-30T15:03:51Z" level=warning msg="IPWhiteList is deprecated, please use IPAllowList instead." entryPointName=websecure routerName=websecure-portainer@docker

Additional context
I made the following changes, which seemed to resolve the warning I was getting in traefik logs. Not sure if I did it correctly but here it is for what its worth.
For tasks/main.yml - middleware needs to be updated from IPWhiteList to IPAllowList or ip_whitelist to ip_allowlist. Also the label for middleware source range needs to be changed in 2 spots, ipwhitelist to ipallowlist. And lastly the defualts/main.yml, ip_whitelist needs to change to ip_allowlist.

@georgejung georgejung added the bug label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant