Repository navigation
chore: release v1.2.0 - #506
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the operator 1.2.0 release preparation changes.
No open issues 🎉
What changed in this PR
Prepares operator 1.2.0 for release with the stable documentdb.io/v1 API introduced in #486, while keeping the default DocumentDB engine at 1.0.0.
Changes:
- Bumps the Helm chart and operator image versions to
1.2.0, updating matching test assertions. - Updates release notes, compatibility tables, and public version guidance.
- Clarifies that upgrades from 1.1.x or earlier require applying CRDs first, and rollbacks to 1.1.x must retain the 1.2.0 CRDs.
| File | Description |
|---|---|
operator/documentdb-helm-chart/tests/09_operator_deployment_test.yaml |
Updates operator image assertions to 1.2.0. |
operator/documentdb-helm-chart/tests/03_wal_replica_test.yaml |
Updates the WAL replica image assertion to 1.2.0. |
operator/documentdb-helm-chart/tests/02_sidecar_injector_test.yaml |
Updates the sidecar image assertion to 1.2.0. |
operator/documentdb-helm-chart/Chart.yaml |
Sets chart and application versions to 1.2.0. |
docs/operator-public-documentation/v1/operations/upgrades.md |
Clarifies CRD upgrade, API migration, and rollback requirements. |
docs/operator-public-documentation/v1/index.md |
Updates the advertised operator release to 1.2.0. |
docs/operator-public-documentation/v1/getting-started/before-you-start.md |
Adds and recommends operator 1.2.0. |
docs/designs/release-strategy.md |
Adds 1.2.x support and compatibility information. |
CHANGELOG.md |
Adds the 1.2.0 release entry and corrects historical entries. |
Review effort: Balanced
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (docs); P0 keyword "cve" in body; effort from diff stats (29+12 LOC, 9 files) If a label is wrong, ping |
Prepare operator 1.2.0, the first release with the documentdb.io/v1 API. The default DocumentDB engine stays at 1.0.0. - Chart.yaml version/appVersion 1.1.1 -> 1.2.0; Helm test image tags - CHANGELOG: [Unreleased] -> [1.2.0] - 2026-11-11 with summary; add the documentdb#496 and documentdb#493 changes that shipped in 1.1.1; fix the 1.1.0 date (released 2026-11-04) - release-strategy.md: v1.2.x support, Kubernetes, dependency and component rows - before-you-start.md / index.md: operator 1.2.0 - upgrades.md: the CRD step is required from 1.1.x too, not only 1.0.x; document rolling back from 1.2.0 to 1.1.x Co-authored-by: Copilot <[email protected]> Copilot-Session: 9f1a71b4-9969-4456-9f65-8d19dd550d8e Signed-off-by: Rayhan Hossain <[email protected]>
- Release date 2026-11-17. - Add CHANGELOG entries for changes merged after the release PR was opened: OTel Collector outbound proxy (documentdb#476), documentdb_core upgraded with documentdb (documentdb#507), and stable documentation links and checks (documentdb#513, documentdb#514). documentdb#508 already added its own entry; documentdb#509 is internal. Co-authored-by: Copilot <[email protected]> Copilot-Session: 9f1a71b4-9969-4456-9f65-8d19dd550d8e Signed-off-by: Rayhan Hossain <[email protected]>
66dee2a to
8c17c2d
Compare
Co-authored-by: Copilot <[email protected]> Copilot-Session: 9f1a71b4-9969-4456-9f65-8d19dd550d8e Signed-off-by: Rayhan Hossain <[email protected]>
Summary
Prepares operator 1.2.0, the first release with the stable
documentdb.io/v1CRD API (#486). The default DocumentDB engine stays at1.0.0, so only the operator, sidecar, CRDs and Helm chart change. No database-track release is needed.Changes
Chart.yamlversion/appVersion1.1.1→1.2.0, plus the image-tag assertions in the Helm unit tests (02_sidecar_injector,03_wal_replica,09_operator_deployment).[Unreleased]becomes[1.2.0] - 2026-11-19, with a summary and a docs entry for docs: port-forward getting-started connections to gateway services #467. Entries were added for changes merged after this PR was opened: feat: add outbound proxy support for the OTel Collector sidecar #476 (OTel Collector outbound proxy), fix: upgrade documentdb_core before documentdb #507 (documentdb_coreupgraded withdocumentdb, with the repair command for clusters already upgraded), and fix: use compatible stable documentation links #513/fix: verify released documentation entrypoints #514 (stable docs links and checks). fix: update Go to 1.26.11 for vulnerability checks #508 brought its own entry; docs: update the release agent to match the actual release process #509 (release agent) is internal and not listed.cloudnative-pg.enabled) and fix: stop the combined image inheriting CNPG's labels #493 shipped in 1.1.1 but were missing from its entry. The 1.1.0 date was2026-11-17; it was actually released on2026-11-04.release-strategy.md: v1.2.x rows in the support, Kubernetes compatibility, dependency and component tables. The cert-manager column notes1.19.6+/1.20.3+for CVE-2026-62290.1.2.0inindex.mdand thebefore-you-start.mdversion matrix.upgrades.md):preview, so it is required from 1.1.x too, which covers most upgraders. The section is renamed and reworded.documentdb.io/v1" now names 1.2.0 as the release that graduates the API.Not changed:
values.yaml(documentDbVersionstays1.0.0) and the compiled-in engine defaults.Testing
helm unittestpasses (124 tests after rebasing onmain),helm lintis clean, and the default render usesoperator:1.2.0andsidecar:1.2.0.mkdocs build --strictpasses using thedeploy_docs.ymlpackage pins.1.2.0), following the upgrade guide step by step:oci://ghcr.io/documentdb/documentdb-operator:1.1.1chart and created apreviewDocumentDB and ScheduledBackup with 100 documents.v1is the storage version andstoredVersionsis["preview","v1"].helm upgradeto 1.2.0 (step 4). The database pod kept the same UID with 0 restarts, the cluster stayed healthy, and all 100 documents were intact. The operator logged only the usual first-reconcile "object has been modified" retries.v1DocumentDB and ScheduledBackup; reads/writes worked. Re-applying an unchangedpreviewmanifest is a no-op with a deprecation warning. The webhook rejected a PVC shrink through bothv1andpreview.kubectl replaceon every object, then trimmedstoredVersionsto["v1"]on all three CRDs. Clusters stayed healthy with no restarts.helm rollbackto 1.1.1 against the 1.2.0 CRDs withstoredVersions=["v1"]. Existing clusters stayed healthy, the 1.1.1 operator created a newpreviewcluster, and it logged no errors. Re-applying the 1.1.1 CRDs was rejected (v1 was previously a storage version, and must remain in spec.versions), as the new note says.storedVersions=["v1"], and av1DocumentDB became healthy with reads/writes working.Re-test after rebasing on
main(2026-11-16), since #476 and #507 changed operator and plugin code: on kind (Kubernetes 1.35), upgraded from the published 1.1.1 chart to this branch's images with two clusters, one plain and one with monitoring (OTel sidecar). Pod UIDs, container restart counts and CNPGClustergenerations were all unchanged, both clusters stayed healthy, and the operator logged no errors. Upgrading from 1.1.1 still causes no restarts.Post-merge release steps
Run these after this PR merges, from the merge commit on
main(call it<merge-sha>), as in the 1.1.0 and 1.1.1 releases.<merge-sha>onmain. The promote workflow checks for this.build_operator_images.yml) onmainwithversion: 1.2.0. It produces the1.2.0-testoperator and sidecar images.<merge-sha>, and upgrade withimage.*.tag=1.2.0-test.release_operator.yml) withcandidate_version: 1.2.0-test,version: 1.2.0andsource_ref: <merge-sha>.source_refmust be the commit the candidates were built from. Leaveforceoff.<merge-sha>as1.2.0(novprefix, like earlier tags) and publish the GitHub release. The upgrade guide downloads CRDs fromraw.githubusercontent.com/.../${TARGET_VERSION}/..., so the tag must match the chart version exactly. Put "Apply the 1.2.0 CRDs beforehelm upgrade" at the top of the release notes.helm show chart oci://ghcr.io/documentdb/documentdb-operator --version 1.2.0showsappVersion: 1.2.0, and the CRD URL from the upgrade guide returns 200 for1.2.0.