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: update DefaultGenerationURL to correct path for CRDs #695

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

devhindo
Copy link
Member

@devhindo devhindo commented Dec 24, 2024

so meshery-istio was having this error:
Screenshot 2024-12-24 092401
and after some retracing I found that in build/config.go line 68 the generated URL is
https://raw.githubusercontent.com/istio/istio/[Version of istio]/manifests/charts/base/crds/crd-all.gen.yaml which is incorrect for the current version of istio is 1.24.2 and the URL is failing to retrieve Istio Custom Resource Definition (CRD) here

so after some digging into the istio issues and blogs I found this issue which mentions that changing /crds/ to files fixes the problem as shown (here)[https://raw.githubusercontent.com/istio/istio/1.24.2/manifests/charts/base/files/crd-all.gen.yaml]

I found that any version before istio v1.24 is working with /crds/ but for v1.24 and after works with /files/ but haven't found any official istio docs that states so

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

Excellent catch, @devhindo 👏 Good work!

@leecalcote leecalcote merged commit 9fcd633 into meshery:master Dec 24, 2024
3 of 4 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.

2 participants