@tsuga/cli 1.22.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -6
- package/dist/cli.js +56 -56
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,14 +85,10 @@ tsuga auth operation-key <OPERATION_API_KEY>
|
|
|
85
85
|
This writes the operation API key to `$XDG_CONFIG_HOME/tsuga/config.json`, or `~/.config/tsuga/config.json` when `XDG_CONFIG_HOME` is unset. Alternatively, set it per-session without saving:
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
# Environment variable
|
|
89
88
|
export TSUGA_OPERATION_API_KEY=<OPERATION_API_KEY>
|
|
90
|
-
|
|
91
|
-
# CLI flag (highest priority)
|
|
92
|
-
tsuga --operation-api-key <OPERATION_API_KEY> dashboards list
|
|
93
89
|
```
|
|
94
90
|
|
|
95
|
-
A
|
|
91
|
+
A `TSUGA_OPERATION_API_KEY` env var overrides the saved credential for that one invocation.
|
|
96
92
|
|
|
97
93
|
## Configuration
|
|
98
94
|
|
|
@@ -397,10 +393,11 @@ Explore Kubernetes resources observed across the organization, inferred from you
|
|
|
397
393
|
```bash
|
|
398
394
|
tsuga kubernetes pods --search my-service
|
|
399
395
|
tsuga kubernetes clusters
|
|
396
|
+
tsuga kubernetes nodes --search ip-10-0
|
|
400
397
|
tsuga kubernetes pod-details --k8s-cluster prod --k8s-namespace default --pod-name my-pod-abc123
|
|
401
398
|
```
|
|
402
399
|
|
|
403
|
-
Available resources: `pods`, `clusters`, `namespaces`, `deployments`, `statefulsets`, `daemonsets` (list, with an optional `--search`), and `pod-details`, `pod-manifest`, `deployment-details` (single-resource lookups, with required identifying flags).
|
|
400
|
+
Available resources: `pods`, `clusters`, `namespaces`, `nodes`, `deployments`, `statefulsets`, `daemonsets` (list, with an optional `--search`), and `pod-details`, `pod-manifest`, `deployment-details` (single-resource lookups, with required identifying flags).
|
|
404
401
|
|
|
405
402
|
## Grok
|
|
406
403
|
|