← Back to Pull requests

chore(deps): bump psmdb-operator to 1.23.2 and Percona sidecar images #3189

Closed
unknown closed this pull request without merging on Oct 12, 2026 11:49 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 11:37 UTC
Author

Summary

Moves the NVSentinel remediation datastore to Percona operator 1.23.1 (chart psmdb-operator 1.23.2) and bumps the mongodb_exporter and fluent-bit images. Every hand-maintained copy of the Percona pins now moves with the values files, which also fixes forward #3184.

Motivation / Context

Renovate opened one PR per Percona image, and each one updated only recipes/components/*/values.yaml. The same pins are copied by hand into tools/mirror-e2e, two tests, the vuln-scan matrix and the BOM doc. #3184 (pmm-client) merged that way, which left main inconsistent:

  • Mirror E2E fails on main.

  • The weekly NVSentinel mixin render check would fail (TestNVSentinelMongoDBChartRender).

  • The weekly image scan keeps scanning pmm-client 3.8.1, which AICR no longer ships.
  • #3179 also bumped the operator image without its chart. Chart psmdb-operator 1.23.1 ships operator 1.23.0 and its CRDs. Operator 1.23.1 comes with chart 1.23.2, and its CRDs changed: new sharding.mongos.logs.persistentVolumeClaim and vault.requestInterval/reinitInterval fields, and tighter status.oci.credentials validation.

    Fixes: N/A
    Related: #3179, #3181, #3182 (superseded), #3183 (declined, see below), #3184 (fixed forward)

    Type of Change

  • Bug fix (non-breaking change that fixes an issue)

  • New feature (non-breaking change that adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to change)

  • Documentation update

  • Refactoring (no functional changes)

  • Build/CI/tooling
  • Component(s) Affected

  • CLI (cmd/aicr, pkg/cli)

  • API server (cmd/aicrd, pkg/server)

  • Recipe engine / data (pkg/recipe)

  • Bundler and deployers (pkg/bundler, pkg/component)

  • Collectors / snapshotter (pkg/collector, pkg/snapshotter)

  • Validator (pkg/validator)

  • Core libraries (pkg/errors, pkg/k8s)

  • Docs/examples (docs/, examples/)

  • Other: tools/mirror-e2e, .github/workflows/vuln-scan-images.yaml
  • Implementation Notes

    | Image / chart | From | To |
    |---|---|---|
    | chart psmdb-operator | 1.23.1 | 1.23.2 |
    | percona-server-mongodb-operator (operator + initImage) | 1.23.0 | 1.23.1 |
    | mongodb_exporter (replset sidecar) | 0.40.0 | 0.53.0 |
    | fluentbit (logcollector, disabled) | 5.0.9-1 | 5.1.2-1 |
    | pmm-client (pmm, disabled) | 3.9.1 (already on main) | unchanged; copies fixed |
    | percona-backup-mongodb (backup, disabled) | 2.15.0 | unchanged |

  • Upgrade record. Adds a manual ADR-021 transition for 1.23.1 -> 1.23.2 in recipes/components/psmdb-operator/upgrades.yaml. The CRDs change, and helmfile never applies a changed crds/ directory, so helmfile gets an explicit apply-CRDs step first. Helm, Flux and Argo CD apply the new CRDs themselves. Before this, aicr upgrade-check reported unknown ("record exists, no boundary here") for this move.

  • ownsCRDs re-audit. helm show crds for 1.23.2 lists the same four psmdb.percona.com CRDs, none with webhook conversion. auditedOwnsCRDs moves to 1.23.2.

  • PBM stays at 2.15.0. That is the Percona Backup for MongoDB version Percona certifies for operator 1.23.1 (release notes, "Supported software"). PMM client 3.9.1 and fluent-bit 5.1.2-1 match that list.

  • Left as is on purpose: crVersion 1.23.0, chart psmdb-db 1.23.3 and mongod 8.0.26-11. The coherence gate compares minors, so it still passes. Upstream's psmdb-db 1.23.4 moves crVersion to 1.23.1 and mongod to 8.0.32-14, which is a separate database bump.

  • mongodb_exporter 0.53.0. This moves the sidecar past the 0.40.0 that NVSentinel's own embedded Percona setup uses. The release notes from 0.41 to 0.53 remove no flag this sidecar passes. Two changes to know about: 0.44 turned collstats details off by default, and 0.45 dropped GSSAPI (we use SCRAM-SHA-256). Nothing in AICR consumes the exporter's metrics.

  • BOM doc. docs/user/container-images.md is regenerated with make bom-docs. Besides the Percona lines, it picks up the kubectl digest from #3178, which merged without regenerating.
  • Testing

    make qualify   # clean detached worktree: passed
    make lint      # after adding the upgrade record: passed
    

  • Live chart render (the tests the weekly render check runs): TestNVSentinelRemediationChartRender, TestNVSentinelMongoDBChartRender, TestNVSentinelRemediationAbsentWithoutMixin and TestNVSentinelCRDExclusionMatchesChart all pass. TestNVSentinelMongoDBChartRender fails on current main because pmm-client 3.8.1 is listed but 3.9.1 is rendered.

  • crane digest and crane manifest for each new pin: the digests match the tags, and every one is a linux/amd64 + linux/arm64 index.

  • docker run of mongodb_exporter 0.53.0 with the exact args from values.yaml: every flag is accepted and the process stays up.

  • aicr upgrade-check between recipes generated on main and on this branch (h100-eks-ubuntu-training plus nvsentinel-remediation): psmdb-operator 1.23.1 -> 1.23.2 reports manual. helmfile gets apply-new-crds, apply-bundle and verify; helm gets apply-bundle and verify.

  • Coverage: the only Go changes are test data in _test.go files, so there is no source coverage change.
  • Risk Assessment

  • Low — Isolated change, well-tested, easy to revert

  • Medium — Touches multiple components or has broader impact

  • High — Breaking change, affects critical paths, or complex rollout
  • Affects only recipes that compose an NVSentinel remediation step mixin. Upgrading an existing datastore rolls the three rs0 members one at a time, because the init container and exporter sidecar images change. The PDB allows one member down at a time.

    Rollout notes: helmfile users apply the 1.23.2 CRDs before helmfile apply; aicr upgrade-check and the bundle's UPGRADING.md list the step. Other deployers need no extra step.

    Checklist

  • Tests pass locally (make test with -race)

  • Linter passes (make lint)

  • I did not skip/disable tests to make CI green

  • I added/updated tests for new functionality

  • I updated docs if user-facing behavior changed

  • Changes follow existing patterns in the codebase

  • Commits are signed off and cryptographically signed (git commit -s -S) — GPG signing info
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: lalitadithya Review duration: 11m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.52) × (1 − Review Confidence (0.54)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 72% · Reviewer familiarity: 35%
    53%
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3189"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 53.7% reviewed
    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: 52% (MEDIUM) · Higher = larger blast radius
    52%
    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: 53.7% · Lower = rushed or shallow review
    53.7%
    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: 24.1% · Safe to merge
    24.1%
    Repository