Skip to content

Upgrade traefik default configuration to new traefik-helm requirements#2028

Merged
mysticaltech merged 4 commits into
mysticaltech:masterfrom
markus-seidl:feature/traefik-values-fix
Feb 1, 2026
Merged

Upgrade traefik default configuration to new traefik-helm requirements#2028
mysticaltech merged 4 commits into
mysticaltech:masterfrom
markus-seidl:feature/traefik-values-fix

Conversation

@markus-seidl
Copy link
Copy Markdown
Contributor

It was pointed out in !1969 that the traefik configuration for redirections and globalArguments has changed. This PR moves to the new structure.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @markus-seidl, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the Traefik default configuration to align with recent changes in the traefik-helm chart. It addresses compatibility issues by renaming the globalArguments key to additionalArguments and restructuring the HTTP to HTTPS redirection settings for the web entrypoint, ensuring proper functionality with the updated Helm chart.

Highlights

  • Configuration Key Renaming: The globalArguments configuration key has been updated to additionalArguments across all relevant Traefik configuration snippets to align with new traefik-helm requirements.
  • Redirection Structure Update: The HTTP to HTTPS redirection configuration for the web entrypoint has been nested under a new http key, reflecting changes in the traefik-helm chart's structure.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly updates the Traefik configuration to align with new requirements from the traefik-helm chart. The changes from globalArguments to additionalArguments and the restructuring of the HTTP redirection are applied consistently across the default configuration in locals.tf, the documentation in docs/llms.md, and the example file kube.tf.example.

I've found one minor issue in locals.tf where the update results in a duplicate additionalArguments key within the default Traefik values. I've left a comment with a suggestion to resolve it. Otherwise, the changes look good.

Comment thread locals.tf Outdated
@mrjoe7
Copy link
Copy Markdown
Contributor

mrjoe7 commented Feb 1, 2026

Link to traefik change traefik/traefik-helm-chart#1603

@markus-seidl
Copy link
Copy Markdown
Contributor Author

@mrjoe7 Do you have any insights what happened to globalArguments? As far as I can tell it has been removed.

utay pushed a commit to utay/terraform-hcloud-kube-hetzner that referenced this pull request Feb 1, 2026
utay pushed a commit to utay/terraform-hcloud-kube-hetzner that referenced this pull request Feb 1, 2026
@mrjoe7
Copy link
Copy Markdown
Contributor

mrjoe7 commented Feb 1, 2026

@markus-seidl Not sure why it was removed, but found that is was removed in this commit traefik/traefik-helm-chart@baa573c

mysticaltech added a commit that referenced this pull request Feb 1, 2026
This commit includes 5 safe patch fixes:

- #2016: Exclude CP nodes from ingress LB when scheduling disabled
  Adds lb_target_groups local that respects allow_loadbalancer_target_on_control_plane

- #2014: Disable root SSH on NAT router when sudo is enabled
  Improves security by blocking direct root login when sudo access is available

- #1944: Fix etcd curl port in README (2379 → 2382)
  K3s wraps etcd on port 2382, not the standard 2379

- #2007: Bump terraform-fmt-check 2.2.2 → 2.2.3
- #2006: Bump terraform-validate 2.2.2 → 2.2.3

Deferred to MINOR release:
- #2028 (Traefik): Breaking traefik_values structure change
- #2021 (NAT router): Provider version bump to 1.59.0
@mysticaltech mysticaltech merged commit 296f54a into mysticaltech:master Feb 1, 2026
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

Successfully merging this pull request may close these issues.

4 participants