-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Update gnostic library to point to gnostic-models #118384
Update gnostic library to point to gnostic-models #118384
Conversation
/retest |
json-patch was bumped to v5 in k/k as a result of kubernetes/kubernetes#118384; this aligns with that, but switches to the v5 module, which is documented as gopkg.in/evanphx/json-patch.v5. Signed-off-by: Stephen Kitt <[email protected]>
json-patch was bumped to v5 in k/k as a result of kubernetes/kubernetes#118384; this aligns with that, but switches to the v5 module, which is documented as gopkg.in/evanphx/json-patch.v5. Signed-off-by: Stephen Kitt <[email protected]>
@@ -568,29 +568,6 @@ func (p Patch) replace(doc *container, op Operation) error { | |||
return errors.Wrapf(err, "replace operation failed to decode path") | |||
} | |||
|
|||
if path == "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this lost this fix: evanphx/json-patch@50fdc0b
@@ -29,7 +29,7 @@ require ( | |||
github.com/docker/distribution v2.8.2+incompatible | |||
github.com/docker/go-units v0.5.0 | |||
github.com/emicklei/go-restful/v3 v3.9.0 | |||
github.com/evanphx/json-patch v4.12.0+incompatible | |||
github.com/evanphx/json-patch v5.6.0+incompatible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v5.6.0+incompatible
is older than v4.12.0+incompatible
(both were tagged on master) ... this dropped the following fix:
evanphx/json-patch@v5.6.0...v4.12.0
do we care about this?
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…8384] Signed-off-by: Chirayu Kapoor <[email protected]>
…etes#118384] Signed-off-by: Chirayu Kapoor <[email protected]>
…etes#118384] Signed-off-by: Chirayu Kapoor <[email protected]>
…etes#118384] Signed-off-by: Chirayu Kapoor <[email protected]>
…etes#118384] Signed-off-by: Chirayu Kapoor <[email protected]>
…etes#118384] Signed-off-by: Chirayu Kapoor <[email protected]>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
gnostic OpenAPI components were moved to the gnostic-models library. 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.
This PR also bumps kustomize and kube-openapi to the latest version.
It picks up kubernetes/kube-openapi#403 for a thread safe openapi cache.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/triage accepted
/assign @apelisse @sttts