Repository navigation
Conversation
…g test bodies (#391) - Object names must be DNS-1123 subdomains and namespaces DNS-1123 labels, so ".", ".." and empty values never reach a request path (the URL parser turned pods/. into the collection and pods/.. into the namespace, bypassing env-value redaction and letting pods.delete target a collection). - pods.delete returns {deleted, namespace, name} instead of the deleted Pod; pod and deployment results are redacted both as an object and as a list. - The connection test passes on only Kubernetes Status messages (error_message), also for the namespace probe; defaultNamespace and namespaces[] are validated when a connection is saved or imported and when it is parsed ("*" only as a standalone entry). - pods.delete sends no grace period unless the agent sets one, so the pod's own terminationGracePeriodSeconds applies as with kubectl; descriptions no longer say "read-only" or rely on "stuck pod" prompt text. - The outbound policy is stored on the client config, which lets unit tests drive a plain-HTTP mock API server. 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.
Closes #391.
Summary
and empty values never reach a request path (the URL parser turned pods/. into the
collection and pods/.. into the namespace, bypassing env-value redaction and letting
pods.delete target a collection).
deployment results are redacted both as an object and as a list.
the namespace probe; defaultNamespace and namespaces[] are validated when a connection
is saved or imported and when it is parsed ("*" only as a standalone entry).
terminationGracePeriodSeconds applies as with kubectl; descriptions no longer say
"read-only" or rely on "stuck pod" prompt text.
plain-HTTP mock API server.
Testing
cargo fmt --check,clippy -D warnings: cleancargo test --workspacewith a database: 767 passed, 0 failed (Kubernetes API test ran)pods.get,pods.deletewith env values, 403/500 bodies with{"secret":"x"}, delete withoutgracePeriodSecondspnpm docs:check: passedNot tested against a real cluster (the live kind test was skipped). Behaviour change: saved connections with namespaces that are not DNS-1123 labels (uppercase, underscores) now fail to parse; Kubernetes never allows such namespaces.
validate_connection_urlsis renamedvalidate_connection_config.🤖 Generated with Claude Code