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

KEP-2170: Generate clientset, openapi spec for the V2 APIs #2273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

varshaprasad96
Copy link
Contributor

What this PR does / why we need it:
Generate clientset, informers, listers and open api spec for v2alpha1 APIs.

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #2224

Checklist:

  • Docs included if any changes are user facing

Generate clientset, informers, listers and open api spec
for v2alpha1 APIs.

Signed-off-by: Varsha Prasad Narsing <[email protected]>
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign gaocegege for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11078444638

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 11001381410: 0.0%
Covered Lines: 66
Relevant Lines: 66

💛 - Coveralls

@@ -72,10 +72,10 @@ chmod +x ${CODEGEN_PKG}/generate-internal-groups.sh
# k8s.io/kubernetes. The output-base is needed for the generators to output into the vendor dir
# instead of the $GOPATH directly. For normal projects this can be dropped.
cd ${SCRIPT_ROOT}
echo "Generating client,lister,informer for kubeflow.org/v1"
echo "Generating client,lister,informer for kubeflow.org/v1 and kubeflow.org/v2alpha1"
${CODEGEN_PKG}/generate-groups.sh "client,lister,informer" \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This script needs to be refactored to use kube_codegen.sh . The k8s deps need to be bumped to use the latest kube_codegen args. Will create a separate issue to track the same.

@andreyvelich andreyvelich changed the title [v2alpha1] Generate clientset, openapi spec KEP-2170: Generate clientset, openapi spec for the V2 APIs Sep 30, 2024
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Thank you for adding this @varshaprasad96!
I will review it this week.
/assign @kubeflow/wg-training-leads @akshaychitneni @saileshd1402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KEP-2170: Provide the client-go library for the TrainJob and TarriningRuntime
3 participants