-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Prevent deletes in consumers and streams (#89)
* feat: Prevent deletes in consumers and streams Adding a `preventDelete` property for streams and consumers CRDS which when set to true nack should be able to delete it, otherwise it should just ignore that stream or consumer. The use case for this is in a multi-cloud context when we have deploy deployed in different clouds it becomes troublesome. For example, nack on GKE might check that a stream CRD is missing and proceeds to delete it, however that CRD exists in AWS and AKS and it should not be deleted because its going to impact other applications. * update preventDelete descriptions Co-authored-by: Caleb Lloyd <[email protected]>
- Loading branch information
1 parent
84c2f02
commit 1464dd8
Showing
8 changed files
with
55 additions
and
14 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
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
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
21 changes: 21 additions & 0 deletions
21
pkg/jetstream/apis/jetstream/v1beta2/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
pkg/jetstream/generated/clientset/versioned/fake/register.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
pkg/jetstream/generated/clientset/versioned/scheme/register.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.