adj source rm
Remove a source registration
Remove a source registration.
Refuses (409) while a non-terminal import job still references the source; past import history is kept (its source link is cleared, not deleted). On success, best-effort deletes the source's credentials Secret from the data-plane cluster (namespace adjoint-import) — a kubectl failure or missing kubeconfig only warns, it does not fail the command; delete it yourself with the printed command.
Usage
adj source rm <id> [flags]
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--kubeconfig |
— |
kubeconfig for the data-plane cluster (default: ADJ_KUBECONFIG, then the context's adj-owned kubeconfig) | |
--namespace |
adjoint-import |
namespace the creds Secret lives in | |
--yes |
false |
skip the confirmation prompt |
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |