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

[KFP] Validate Workflow Resources Project #5701

Merged
merged 9 commits into from
Jun 4, 2024

Conversation

quaark
Copy link
Member

@quaark quaark commented Jun 3, 2024

https://iguazio.atlassian.net/browse/ML-1266

If a particular project is selected when deploying a workflow, this project would be ignored and the workflow would be created in the project defined in each of the workflow's resources. This behaviour, while wrong, does make sense as we cannot allow creating a pipeline in one project that uses resources from another project due to different resource authorization rules in each project.

So instead we will validate that the requested project will match the project in the workflow's resources and return a 400 otherwise.

@quaark quaark merged commit c280c01 into mlrun:development Jun 4, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants