← Back to Pull requests

docs: document SecretReference-backed notification channel secrets #960

Closed
unknown closed this pull request without merging on Oct 28, 2026 05:38 UTC
View on GitHub
unknown unknown commented on Oct 27, 2026 05:22 UTC
Author

Purpose

Notification channels now resolve a secretKeyRef as a SecretReference and sync its value to the observability plane through an ExternalSecret, with Kubernetes Secrets as a deprecated fallback (openchoreo/openchoreo#5188, openchoreo/openchoreo#5196). This documents the change in the next docs:

  • Notification channel API reference: a Secret Values section (how references resolve, the requirements, the deprecated fallback) and a Status section listing the Ready / SecretsReady reasons. The examples create their secrets with occ secret create first.

  • ObservabilityPlane, ClusterObservabilityPlane and SecretReference references: secretStoreRef on observability planes, and observability planes as a targetPlane kind.

  • Observability alerting and secret management guides: how to create channel secrets in the observability plane's store, and which plane to target for each kind of consumer.

  • Install guides (k3d, your environment, multi-cluster, namespace management): register the observability plane with its secretStoreRef, like the data and workflow planes.

  • Alerts tutorials: create the channel credentials with occ secret create instead of Kubernetes Secrets.

  • CLI reference: the new --target-plane kinds and the notification channel list columns.
  • It also corrects three existing statements: a channel's secretKeyRef has no namespace field, SMTP credentials can't be given inline, and a plane's secretStoreRef names a ClusterSecretStore in the plane's own cluster, not the control plane's.

    Related Issues

    Part of openchoreo/openchoreo#5187 and openchoreo/openchoreo#5180

    Should merge after openchoreo/openchoreo#5196.

    Checklist


  • Updated sidebars.ts if adding a new documentation page

  • Run npm run start to preview the changes locally

  • Run npm run build to ensure the build passes without errors

  • Verified all links are working (no broken links)
  • Diff: 245 lines (+183 / -62) across 3 files Reviewer: rashadism Review duration: 1455m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.62) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.62 · 245 lines diff across 3 files
    0.62
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.329
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.062
    Real PR Conversation Timeline
    1 comments
    "Review active on #960"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 62% (MEDIUM) · Higher = larger blast radius
    62%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 26.8% · Safe to merge
    26.8%