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

[Projects] Support different deletion strategies #618

Merged
merged 7 commits into from Dec 27, 2020

Conversation

Hedingber
Copy link
Contributor

@Hedingber Hedingber commented Dec 27, 2020

Following Nuclio's PR, added support in deletion strategies for project deletion:

  • restrict - will return 412 when project exists and has related resources (won't check related resources if project doesn't exist, will succeed)
  • cascade - will remove all related resources with the project

strategy is given using the header x-mlrun-deletion-strategy

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

1 participant