Skip to content

Resolve configured TLS references with cached Secret metadata - #2087

Merged
nadaverell merged 1 commit into
mainfrom
split/pr2047-secrets-contour
Oct 13, 2026
Merged

nadaverell merged 1 commit into
mainfrom
split/pr2047-secrets-contour

Conversation

@nadaverell

@nadaverell nadaverell commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

A referenced Secret often appears when the topology is built with IncludeSecrets=false. Creating an anonymous stub loses metadata already present in Radar's cache. Contour also references certificates beyond its primary TLS Secret: client CA/CRL, upstream validation, JWT JWKS and TCP validation.

Referenced Secret nodes use the existing metadata cache when the object is observed, preserving real status and metadata without serializing Secret payloads. Absent Secrets remain Unknown stubs. Existing per-user Secret visibility applies on REST, SSE and MCP. One Contour parser supplies topology, audit and drawer links, including cross-namespace delegation and Kubernetes-valid resource names.

Review focus: payload exclusion and unreadable/missing Secret behavior, namespace boundaries, and all six Contour reference paths. The exported Kubernetes subdomain validator accepts Kubernetes-valid long resource names; namespace-label validation remains separate. No new JSON field or Secret permission is introduced.

Validation: full root and relevant shared-module Go suites; metadata-only/default topology regressions; Contour parser/reference tests; rendered exact Secret navigation and validator tests; web/shared UI type checks; production frontend/embed/backend build. Existing drawer links are used, with no new layout.

Visual-test: skipped because these corrections retain the existing layouts; rendered navigation/evidence tests and real REST/MCP checks cover the changed behavior.

@nadaverell
nadaverell requested a review from hisco as a code owner October 13, 2026 13:43
@nadaverell
nadaverell merged commit 9f5bbbe into main Oct 13, 2026
9 checks passed
@nadaverell
nadaverell deleted the split/pr2047-secrets-contour branch October 13, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant