Repository navigation
Conversation
Discovery reads credential Secrets only through its label-selected cache and the --once list, so the Role's get verb was never used. Drop it and pin the Role with a manifest test and an envtest that runs the real Secret cache and --once list under the shipped Role, and checks that a get by name and another namespace are refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RBAC cannot narrow discovery's Secret Role to the labelled credential Secrets, so any Secret in its namespace is readable by discovery. Render every Kustomize entry point under config/ and fail when a Secret without the credential label and Device annotations lands in a namespace that holds discovery, a credential Secret, or the new credential-namespace label, which the site's Redfish credential namespace now carries. A namespace found in any root is checked in every root, and discovery's own Milo kubeconfig is admitted only beside discovery. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record why the Secret Role stays namespace-wide, what the render check enforces, and how a sidecar deployment keeps its credential namespace separate from the host pod's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from
feat/device-custody-cutover
to
feat/manual-inventory-records
November 28, 2026 14:54
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.
Related to #182, as a follow-up to its review.
BMC discovery could read every Secret in its namespace, and RBAC can't limit it to the labelled credentials. Discovery now has list and watch only, and CI fails when any other Secret lands in a credential namespace.
The discovery guide says why the Role stays namespace-wide.
Test plan
Decisions for a person
🤖 Generated with Claude Code