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

don't attempt to read v1 DestinationRules when istio is too old #10459

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

stevenctl
Copy link

@stevenctl stevenctl commented Dec 10, 2024

Description

Due to the way Istio's NewDelayedInformer works, we will always try to get the v1 struct. This causes failures internally when we try to force it to give us v1beta1, preventing us from running with old Istio versions. #10424 attempts to fix this, but this PR is safer in the short-term to just disable reading DRs all together when the v1 CRD isn't present.

Code changes

  • CRD check gates informer creation

Testing steps

  • Automated test ensures things don't break with the old CRD

BOT NOTES:
resolves https://github.com/solo-io/solo-projects/issues/7400

@solo-changelog-bot
Copy link

Issues linked to changelog:
https://github.com/solo-io/solo-projects/issues/7400

@stevenctl stevenctl enabled auto-merge (squash) December 10, 2024 20:22
@stevenctl stevenctl merged commit 9051b26 into solo-io:main Dec 10, 2024
19 checks passed
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.

3 participants