-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(backend): Upload namespaced pipeline definitions. Part of #4197 #8511
feat(backend): Upload namespaced pipeline definitions. Part of #4197 #8511
Conversation
Fix the way KFP API server authenticates pipeline upload requests. We leverage 'isAuthenticated()` function which requires proper initialization of the context object to include user identity.
Extend swagger defintion of the pipeline upload API with a namespace parameter in order to support uploading namespaced pipelines.
Autogenerate the Go and Python clients after extending the swagger definitions of upload pipeline APIs with a namespace field.
/cc @chensun @zijianjoy @jlyaoyuli @Linchin @juliusvonkohout @StefanoFioravanzo |
@elikatsis i strongly suggest putting this on the agenda for the next KFP meeting. As you have seen the previous PR only got attention after i did that. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chensun 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 |
@elikatsis run-frontend-integration-tests failed in kubeflow-pipeline-e2e-test
|
/retest |
…ow#4197 (kubeflow#8511) * feat(backend) Fix authentication in upload requests Fix the way KFP API server authenticates pipeline upload requests. We leverage 'isAuthenticated()` function which requires proper initialization of the context object to include user identity. * feat(backend): Add namespace field in pipeline upload swagger definition Extend swagger defintion of the pipeline upload API with a namespace parameter in order to support uploading namespaced pipelines. * chore(backend): Generate Go & Python clients Autogenerate the Go and Python clients after extending the swagger definitions of upload pipeline APIs with a namespace field.
Description of your changes:
This is the backend part pushed by #8196. See the aforementioned PR and the linked issued for details.
This PR is part of the overarching idea to support namespaced pipeline definitions.
The whole idea is thoroughly analyzed and exposed in this design doc: https://docs.google.com/document/d/1fM4y2L1IVqVj-iiNjYFRRktdCh7FQXgU2XpaYLaqt-A/edit?resourcekey=0-kd5loyP7w3PBD0ug6ECmLQ#
Objective of this PR is to:
Part of #4197
Checklist: