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

feat: Provide minimal distribution of CRDs #3492

Merged
merged 14 commits into from
Apr 21, 2024

Conversation

terrytangyuan
Copy link
Member

Fixes #3487.

Trying out a similar approach to what we are doing for Argo Workflows https://github.com/argoproj/argo-workflows

@terrytangyuan terrytangyuan changed the title Reduce size of CRDs feat: Provide minimal CRDs without validation Mar 1, 2024
@terrytangyuan terrytangyuan marked this pull request as ready for review March 1, 2024 18:30
@terrytangyuan terrytangyuan changed the title feat: Provide minimal CRDs without validation feat: Provide minimal distribution of CRDs Mar 6, 2024
hack/main.go Outdated Show resolved Hide resolved
@terrytangyuan
Copy link
Member Author

@yuzisun Addressed comments. PTAL.

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan
Copy link
Member Author

@yuzisun @sivanantha321 Just rebased and resolved conflicts after the merge of #3443.

hack/crdgen.sh Outdated Show resolved Hide resolved
@sivanantha321
Copy link
Member

I am just curious, How is the validation handled for minimal crd version. Is it through validation webhook ?

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan
Copy link
Member Author

@sivanantha321 Yes and basically leave that responsibility to something else, e.g. front-end, validation webhook, etc.

@sivanantha321
Copy link
Member

/lgtm

@yuzisun
Copy link
Member

yuzisun commented Apr 21, 2024

/approve

Copy link

oss-prow-bot bot commented Apr 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: terrytangyuan, yuzisun

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

@yuzisun yuzisun merged commit f1b4d4b into kserve:master Apr 21, 2024
55 of 56 checks passed
@terrytangyuan terrytangyuan deleted the reduce-crds branch April 21, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InferenceService CRD is too large
3 participants