-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add cluster delete mode (#459)
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: string | ||
description: | | ||
Indicates the mode to apply on cluster deletion | ||
**"hard delete"** means that we delete directly from our database, this is different from a **"trigger delete"** that cleans the resource | ||
- `DEFAULT`: this is the normal way, trigger delete the cluster only if no environment linked to this cluster remains | ||
- `DELETE_CLUSTER_AND_QOVERY_CONFIG`: hard delete environments linked to this cluster then trigger delete the cluster | ||
- `DELETE_QOVERY_CONFIG`: hard delete environments linked to this cluster then hard delete the cluster | ||
enum: | ||
- DEFAULT | ||
- DELETE_CLUSTER_AND_QOVERY_CONFIG | ||
- DELETE_QOVERY_CONFIG | ||
example: DEFAULT | ||
default: DEFAULT |