Repository navigation
Conversation
Add `verda mk8s` (aliases `k8s`, `kubernetes`): - locations - cluster: list, describe, create, upgrade, delete - node-pool: list, describe, create, scale, delete - kubeconfig: list, describe, create, save, delete Commands work on a terminal (pickers, wizards) and in scripts (flags, -o json, --agent). Bump verdacloud-sdk-go to v1.9.1 and stop HTML-escaping <, > and & in JSON output. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Tests consolidated: table-driven tests replace near-duplicates, and checks repeated across output modes, YAML variants and --debug dumps are gone. The optional refusal tests are dropped. The security guards stay: key never printed, O_EXCL, symlink, path traversal and collisions, 0600/0700, and the debugTransport round trip. - Test helpers merged into fake_test.go; unused fake branches and apiFailure.Times removed. - Helpers deduplicated: poolScope.check/connect, apiRun, runWizard, wizard step builders, poolCmd, checkPoolFlags, cleanGroups for SSH keys. - Dead code and restating comments trimmed; errWaitTimeout removed. - mk8s README.md and CLAUDE.md reconciled with the code and tests. No CLI behavior change: help text, output, errors, exit codes, API calls and file modes are the same as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds
verda mk8s(aliasesk8s,kubernetes) for managed Kubernetes. It is marked experimental.Every command works on a terminal (pickers and wizards) and in scripts (flags,
-o json,--agent). Creates, deletes and scaling accept--wait/--yeswhere they apply.Also in this PR:
verdacloud-sdk-gov1.9.1, and<,>and&are no longer HTML-escaped in JSON output.Evidence
verda mk8scommand.After:
make build,make test,make lintandmake fix.checkpass. The full create → node pool → kubeconfig →kubectl get nodes→ delete flow was run against the production API, on a terminal and in agent mode.Merge Danger
Door: two-way
Blast Radius: new command group
The JSON escaping change touches shared output code, so other commands' JSON now prints
<,>and&as is.🤖 Generated with Claude Code