Skip to content

fix(infra): qualify patched controllers and Grafana in staging - #1801

Merged
rdimitrov merged 2 commits into
mainfrom
codex/security-patch-infrastructure
Nov 5, 2026
Merged

rdimitrov merged 2 commits into
mainfrom
codex/security-patch-infrastructure

Conversation

@rdimitrov

@rdimitrov rdimitrov commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

CloudNativePG 1.27.0, ingress-nginx 1.13.0 and Grafana 12.1.1 have known security vulnerabilities. Opt staging into CloudNativePG 1.30.1 (chart 0.29.1), ingress-nginx 1.15.1 (chart 4.15.1) and Grafana 12.4.14 while keeping production unchanged until staging is qualified.

The deployment wrapper validates a saved full plan against reviewed field-transition hashes and rejects unrelated changes, deletions and replacements. It takes consistent backups of both databases, verifies the entire archive stream, and uploads and reads back the dumps from private GCS. It preserves PostgreSQL 17.5 and PVC identities, and waits for upgraded instance managers. CNPG CRD schemas were checked against the upstream chart archive; chart checksums and the ingress-controller replacement plan are documented.

Validation:

  • Deployment Go tests and 63 Python policy tests pass.
  • Staging workflow previews pass: 52 reviewed changes, no deletes or replacements.
  • Proposed production read-only preview passes the same scope validator.
  • All four pre-upgrade database dumps (registry and Grafana, staging and production) restored successfully into isolated local PostgreSQL.
  • Baseline HTTP checks pass for registry listing/cache/compression and Grafana health/access controls.

Expect a brief database interruption during singleton instance-manager rollouts. Grafana schema migrations require reviewing database restoration before rollback; do not blindly disable the profile. Production promotion is a separate stack-config change after staging verification.

@rdimitrov
rdimitrov merged commit d57d326 into main Nov 5, 2026
10 checks passed
@rdimitrov
rdimitrov deleted the codex/security-patch-infrastructure branch November 5, 2026 10:46

This branch was previously deployed

1 inactive deployment
staging — 57606d46 Deployed Nov 5, 2026 by rdimitrov via Deploy to Staging #428
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