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

podtemplate not passing ports.X.redirectTo.permanent parameter #1076

Closed
2 tasks done
berlincount opened this issue May 22, 2024 · 1 comment · Fixed by #1082
Closed
2 tasks done

podtemplate not passing ports.X.redirectTo.permanent parameter #1076

berlincount opened this issue May 22, 2024 · 1 comment · Fixed by #1082
Labels
good first issue Good for newcomers kind/enhancement New feature or request

Comments

@berlincount
Copy link
Contributor

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?

28.0.0 / master

What version of Traefik are you using?

3.0.1

What did you do?

values contain:

ports:
  web:
    redirectTo:
      permanent: true
      port: websecure

What did you see instead?

traefik/templates/_podtemplate.tpl did not create the expected

--entryPoints.web.http.redirections.entryPoint.permanent=true

commandline configuration argument

What is your environment & configuration?

microk8s

Additional Information

No response

@mloiseleur mloiseleur added kind/bug/confirmed a confirmed bug (reproducible). kind/enhancement New feature or request and removed status/0-needs-triage kind/bug/confirmed a confirmed bug (reproducible). labels May 23, 2024
@mloiseleur
Copy link
Contributor

Hello @berlincount,

That's right. It's not implemented FTM.

That's why it's not documented in the values:

ports:
  traefik:
    web:
[...]
    # redirectTo:
    #   port: websecure
    #   (Optional)
    #   priority: 10

It can be set using additionalArguments.

Feel free to open a PR if you need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants