Skip to content

Commit

Permalink
Move script file
Browse files Browse the repository at this point in the history
  • Loading branch information
seungsoo-lee committed Jan 6, 2024
1 parent 76b7bc4 commit 36ef54d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/cleanup.sh
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."

0 comments on commit 36ef54d

Please sign in to comment.