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

new openapi package using gnostic/openapiv2 #4474

Closed

Conversation

natasha41575
Copy link
Contributor

@natasha41575 natasha41575 commented Feb 14, 2022

This PR creates a new package in the openapi directory that uses the "github.com/googleapis/gnostic/openapiv2" instead of "k8s.io/kube-openapi/pkg/validation/spec", which we have discovered can improve performance.

Rather than rewrite the entirety of the original library all at once, the idea here is to start a new library that will support the same features as our current library, but putting it in a separate internal while we develop incrementally with a lot of testing. When this some of the features are ready for consumption, we can start to replace our current library with this new one.

Related: #3670, kptdev/kpt#2651

/cc @mengqiy

FYI @droot @yuwenma. We can sync on this.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 14, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: natasha41575

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 14, 2022
@natasha41575 natasha41575 added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants