-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix Issue #28 #29
Closed
Closed
Fix Issue #28 #29
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
a53f1d0
feat: Add a cleanup script that can delete all resources (running the…
b0m313 4407548
fix:: Resolve an issue with deleting SIBs
b0m313 76b7bc4
style(cleanup): Add license
b0m313 36ef54d
Move script file
seungsoo-lee 61e72cc
Deleted files
seungsoo-lee e4fc074
feat(api): Add syscalls-related field
b0m313 08e52bd
feat(config): Add syscalls-related fields
b0m313 0f699de
feat: Add go.work to use two mods
b0m313 bb10d04
feat(config): Add the adapter's config
b0m313 e4e5d07
feat(receiver): Add a receiver for the adapter
b0m313 2f38ca1
feat(core): Add a transformer and Applier for the adapter
b0m313 665ec93
feat(adapter): Add adapter-specific main.go and other files
b0m313 169e905
feat(adapter): Add core(converter, enforcer)
b0m313 7a73ed2
feat(adapter): Add applier and modify package name
b0m313 5cab7e0
featgo.mod): go version to use go.work (requires go >= 1.21)
b0m313 7027dd1
feat(applier): Add license
b0m313 c692c1e
feat(receiver): Add karmor policy delete
b0m313 af70371
test(v2): Modify ID
b0m313 67a4fa2
Docs: Update Tutorials
b0m313 a241d69
fix(go.mod): Resolve lint
b0m313 f7ea821
fix(gomod): resolve golangci-lint
b0m313 8a5432a
Update Quick-tutorials.md
seungsoo-lee 2805557
Update nimbus-adapter
b0m313 8d34372
Delete core directory
b0m313 a3633ee
fix(adapter): Modify path (main.go)
b0m313 6a603cf
Update nimbus adapter
seungsoo-lee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,12 @@ | ||
#!/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." |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the specific purpose of this script in explicitly removing the CRs? Under what circumstances should a user execute it?