-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76b7bc4
commit 36ef54d
Showing
1 changed file
with
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2023 Authors of Nimbus | ||
|
||
#!/bin/bash | ||
|
||
# Delete all SecurityIntent resources | ||
kubectl delete securityintents --all --all-namespaces | ||
|
||
# Delete all SecurityIntentBinding resources | ||
kubectl delete securityintentbindings --all --all-namespaces | ||
|
||
# Delete all NimbusPolicy resources | ||
kubectl delete nimbuspolicies --all --all-namespaces | ||
|
||
echo "All resources have been successfully deleted." |