← Back to Pull requests

[BREAKINGCHANGE] Store Perses config in Secret instead of ConfigMap #325

Open
slashpai opened this pull request with 200 lines diff across 2 files
View on GitHub
slashpai slashpai commented on Mar 02, 2026 12:29 UTC
Author

Closes #322

This will have more values once we have secretRef pattern implemented for sensitive fields https://github.com/perses/perses-operator/issues/322#issuecomment-3984300770, we can wait till thats implemented to proceed with this so we can have breaking change that time probably after current release

<!--
See the contributing guide for detailed guidance about contributing.
https://github.com/perses/perses-operator/blob/main/CONTRIBUTING.md
-->

Description

<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. -->

Closes: #ISSUE-NUMBER

Type of change

<!-- What type of changes does your code introduce? Put an x in the box that applies. -->

  • FEATURE (non-breaking change which adds functionality)

  • ENHANCEMENT (non-breaking change which improves existing functionality)

  • BUGFIX (non-breaking change which fixes an issue)

  • BREAKINGCHANGE (fix or feature that would cause existing functionality to not work as expected)

  • DOC (documentation only)

  • IGNORE (tooling, build system, CI, etc.)
  • Verification

    <!-- How did you test it? How do you know it works? -->

  • Unit tests added/updated

  • Integration tests added/updated

  • E2E tests added/updated

  • Manual testing performed
  • Checklist

  • Pull request has a descriptive title and context useful to a reviewer

  • Code follows project conventions and passes linting

  • All commits have DCO signoffs
  • Diff: 200 lines (+150 / -50) across 2 files Reviewer: None requested Review duration: 400492m
    All Vouch review confidence checks passed
    Residual risk 0.45 = Change Risk (0.78) × (1 − Review Confidence (0.42)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.78 · 200 lines diff across 2 files
    0.78
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    42%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.317
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Sensitive Paths sensitive_paths
    0.078
    Real PR Conversation Timeline
    1 comments
    "Review active on #325"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    slashpai slashpai
    Labels
    risk: medium confidence: 42.2% 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: 78.4% (HIGH) · Higher = larger blast radius
    78.4%
    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: 42.2% · Lower = rushed or shallow review
    42.2%
    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: 45.3% · Moderate risk
    45.3%