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

Property IPAllowList middlware is not allowed in Traefik v2 static conf according to https://json.schemastore.org/traefik-v2-file-provider.json #3619

Open
kuolemaaa opened this issue Mar 3, 2024 · 1 comment
Labels
help wanted issue:bug Report errors or unexpected behavior (auto-generated by issue forms)

Comments

@kuolemaaa
Copy link

Area with issue?

JSON Schema

✔️ Expected Behavior

IPAllowList is a recently implemented built-in middleware in traefik v2. It will replace ipwhitelist.

I would do the fix myself but I dont really know how PR works and the all github thing

❌ Actual Behavior

Property IPAllowList is not allowed.yaml-schema: https://json.schemastore.org/traefik-v2-file-provider.json

middlewares:
  [a-zA-Z +]+: #middleware label
     IPAllowList:
       [...]

YAML or JSON file that does not work.

https://json.schemastore.org/traefik-v2-file-provider.json

src/schemas/json/traefik-v2-file-provider.json

IDE or code editor.

None

Are you making a PR for this?

No, someone else must create the PR.

@kuolemaaa kuolemaaa added the issue:bug Report errors or unexpected behavior (auto-generated by issue forms) label Mar 3, 2024
@wdonne
Copy link

wdonne commented Apr 4, 2024

I think it is ipAllowList instead of IPAllowList, but then I get the error that the middleware type doesn't exist. In fact, the spec field of the resource is emptied when applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted issue:bug Report errors or unexpected behavior (auto-generated by issue forms)
Projects
None yet
Development

No branches or pull requests

3 participants