Repository navigation
feat: shared-values update, override branch get, logout --all, dashboard, favorite check (#160, #161) - #168
Merged
Conversation
…ard, favorite check (#160, #161) - cluster shared-values update <cluster> <id|name>: reads the entry, merges --name, --description, --priority, --file (replaces the values) and --set (changes keys) and sends the full record. A stderr note says when --set changes the stored YAML text (comments, key order). shared-values set: the help now says that each call creates an entry. - override branch get <stack> <chart> (exit 1 without an override). - logout --all: logout-all for the user of the login session (else of the API key), one renewal on 401, then the normal logout. On failure the token file stays. - dashboard: failing stacks, stacks that expire within the hour, recent deployments and cluster health (devops and admin); all users. -q prints the IDs of the failing and expiring stacks. - favorite check --type --id: prints yes or no. - types.SharedValues gets description. Contract cases for the dashboard and shared values types. Closes #160 Closes #161 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
#160:
cluster shared-values update <cluster> <id|name> [--name] [--description] [--priority] [--file] [--set k=v](admin).--filereplaces the values.--setchanges keys of the stored (or file) values.--setwrites the stored YAML again. Comments, the key order and anchors are not kept, and a note on stderr says so when the text changes.shared-values set: the help now says that each call creates a new entry.override branch get <stack> <chart>: exit code 1 when the chart has no branch override, asoverride getdoes.logout --all:POST /auth/logout-allfor the user of the login session of the context, or for the user of the API key when there is no session. A 401 gets one renewal and one retry.#161 (the rest;
server info, ping, ui-config and the TTL check shipped in #163):dashboard: failing stacks (status error), stacks that expire within the next hour, recent deployments, and cluster health (devops and admin).usergets clusters without health data, so the table hides them.-qprints the unique IDs of the failing and expiring stacks.favorite check --type --id: printsyesorno(exit 0).-o json|yamlprints{"is_favorite": ...}.Other changes
types.SharedValuesgetsdescription.SharedValuesandUpdateSharedValuesRequest.Tests
go test ./...passes, alsogo test -shuffle=on ./cmd.staticcheck(latest) has no findings.cli/cmd/small_gaps_test.go(merge, file, YAML note, errors; branch get; logout --all with renewal, the API key path and failure; favorite check; dashboard sections, the roleuser, quiet, JSON) andcli/pkg/client/small_gaps_test.go.Closes #160
Closes #161
🤖 Generated with Claude Code