Closed comphilip closed 4 weeks ago
same problem here when upgrading from v32.1.1
to v33.0.0
on k0s
and talos
clusters.
There is no v1alpha2 in crds of v33:
$ grep -rn v1alpha2 traefik/crds/
# nothing.
It looks like that an other component in your environment is using a different (previous ?) version of Gateway API.
Considering helm known limitation on CRDs, there is a WIP to move CRD into a dedicated chart, see #1141 and PR #1223.
In the mean time, release notes of v1.2 of Gateway API contains instructions on how to upgrade when you have v1alpha2 reference:
Note that even if you've been using v1 in your YAML manifests, a controller may still be using v1alpha2 which would cause it to fail during this upgrade.
If you ran into issues installing these CRDs, it likely means that you have v1alpha2 in the storedVersions of one or both of these CRDs. This field is used to indicate which API versions have ever been used to persist one of these resources.
Unfortunately, this field is not automatically pruned.
Wdyt about following instruction provided on Gateway v1.2 release to fix it ?
thank you, this worked and fixed it for me now. i think it makes sense to include this in the release notes for people to are aware of this process. 👍
Welcome!
What version of the Traefik's Helm Chart are you using?
v33.0.0
What version of Traefik are you using?
v3.1.6
What did you do?
kubectl apply --server-side --force-conflicts -k https://github.com/traefik/traefik-helm-chart/traefik/crds/
What did you see instead?
fluxcd helm ugrade reports:
Manually update CRD:
What is your environment & configuration?
K8S version: v1.31.2+k3s1
Install traefik helm: v32.1.1
Additional Information
No response