-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Support deleting/updating individual Sources by name (#2479)
Currently, the `odigos sources delete` and `odigos sources update` commands only accept flags that identify Sources based on the Workload they instrument. This is useful when the Source name might not be known (such as Sources that were created with a random name by the UI), and it also allows batch-deleting Sources (for example, deleting all Sources that instrument a StatefulSet, etc) This adds an optional argument to specify a Source explicity by its name to these commands. It also updates the help text (and docs) for these commands with examples of usage in individual vs batch scenarios.
- Loading branch information
Showing
4 changed files
with
196 additions
and
45 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ cli/odigos | |
serving-certs/ | ||
**/.tools/ | ||
**/LICENSES | ||
odigos | ||
|
||
**.tfstate | ||
**.tfstate.backup | ||
|
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