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

fix: 🐛 remove old CRDs using traefik.containo.us #913

Merged
merged 1 commit into from
Oct 14, 2023
Merged

fix: 🐛 remove old CRDs using traefik.containo.us #913

merged 1 commit into from
Oct 14, 2023

Conversation

mloiseleur
Copy link
Contributor

What does this PR do?

Remove old CRDs using traefik.containo.us.

Motivation

Fixes #895

@HeyHugo
Copy link

HeyHugo commented Aug 22, 2023

Bumped into this and couldn't understand why I couldn't list traefik CRD resources after I had upgraded.

To anyone having the same problem delete the legacy crds

kubectl get crd | grep 'traefik.containo.us' | awk '{ print $1 }' | xargs kubectl delete crd

Then get a crd resource explicitly using the full crd name like this
kubectl get ingressroute.traefik.io --all-namespaces

For me it seems some client state wasn't updated until I did. After that using just kubectl get ingressroute worked

Copy link
Contributor

@darkweaver87 darkweaver87 left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit 6484a40 into traefik:master Oct 14, 2023
1 check passed
@mloiseleur mloiseleur deleted the fix/remove_old_crds branch October 19, 2023 10:23
@davidpanic
Copy link

This was reverted in bf75a5d Can anyone provide any information as to why?

@mloiseleur
Copy link
Contributor Author

mloiseleur commented Nov 8, 2023

It's detailed in the PR:

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

Successfully merging this pull request may close these issues.

Allow an easy way to disable legacy CRDs in Helm chart
6 participants