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

Support Traefik 3.1.0 #10934

Closed
SIMULATAN opened this issue Sep 24, 2024 · 2 comments
Closed

Support Traefik 3.1.0 #10934

SIMULATAN opened this issue Sep 24, 2024 · 2 comments

Comments

@SIMULATAN
Copy link

Is your feature request related to a problem? Please describe.
Upgrading Traefik from 3.0.x to 3.1.x causes the ingress controller to seize to function entirely. Traefik cannot start up due to missing permissions to access nodes and endpointslices.

Describe the solution you'd like
If the Traefik image version (image.tag) is greater than or equal to 3.1.0, add the required permissions to the helm chart ClusterRole.

- apiGroups:
    - discovery.k8s.io
  resources:
    - endpointslices
  verbs:
    - list
    - watch
- apiGroups:
    - ""
  resources:
    - nodes
  verbs:
    - get
    - list
    - watch

Describe alternatives you've considered
Manually patching the ClusterRole for now.
Will come up during the implementation of #10526
I wouldn't consider this a duplicate though, as 3.x is supported in theory and the linked issue is meerly to upgrade the default.

Additional context
https://doc.traefik.io/traefik/v3.1/migration/v3/#kubernetes-provider-rbacs

Suggested action
I'd happily implement this myself and open a PR against the k3s-io/k3s-charts repo. However, I'm unsure if I have to copy-paste the latest version chart folder (charts/traefik/25.0.3+up25.0.0) or can make the changes in the existing one.

@brandond
Copy link
Member

Duplicate of #10526

@brandond brandond marked this as a duplicate of #10526 Sep 24, 2024
@SIMULATAN
Copy link
Author

@brandond not sure if you've read it, but I specifically referenced #10526 and why I chose to open this issue nevertheless in the description:

Will come up during the implementation of #10526
I wouldn't consider this a duplicate though, as 3.x is supported in theory and the linked issue is meerly to upgrade the default.

I again want to empathize that I'm not requesting the default to be changed or any sort of official move, I just wanted to point out that the existing effort / support does not work anymore with the upgrade from 3.0.0 to 3.1.0.

It's now possible to use this chart with Traefik v3

https://github.com/k3s-io/k3s-charts/tree/main/charts/traefik/25.0.3%2Bup25.0.0#introduction

This statement is technically debatable now, which is why I figured I'd open this issue and offer my support, which would also ease the transition as part of #10526 at a later point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done Issue
Development

No branches or pull requests

2 participants