-
Notifications
You must be signed in to change notification settings - Fork 214
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
Use gnostic-models over gnostic #402
Conversation
7383779
to
38767cd
Compare
That removes a lot of dependencies, nice. |
/assign @sttts |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: apelisse, Jefftree, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Can this be related? Just updated with
Downgrade solved it: |
Yeah, this change will break all the things that used to pull the former gnostic model library. That's a fair amount of things. |
It's unfortunate that we can't do this update atomically. I've opened kubernetes-sigs/kustomize#5186 for kustomize and kubernetes/kubernetes#118340 to track this migration across k/k. Out of curiosity, what repo is the |
The fact that gnostic doesn't import gnostic-models breaks all tools in the Kubernetes ecosystem. For us in Flux means that we need to wait for all our Kubernetes dependencies (apimachinery, apiextensions-apiserver, client-go, cli-utils) and for controller-runtime, Kustomize, Helm, Cosign, etc to switch to gnostic-models, before we can update Flux. We are looking at months of being behind upstream waiting on everyone to make the switch, if any of these tools have a major CVE, this change makes it impossible to patch Flux. |
@stefanprodan why is that? Can you elaborate? How is go.mod complaining? |
@sttts any tool that imports
Ref: google/gnostic#397 |
We have moved the discussion into Slack https://kubernetes.slack.com/archives/C0EG7JC6T/p1687271483899979 |
gnostic is pinned on v0.5.7-v3refs because we did not want to capture the additional dependencies introduced with later versions of gnostic. The OpenAPI component has been moved to gnostic-models so update the library path to reflect that.
/assign @apelisse