From c8c43cb87a873a460ea5b1069f6b41ebf54ededa Mon Sep 17 00:00:00 2001 From: Wenting Wu Date: Tue, 24 Nov 2026 16:17:14 -0500 Subject: [PATCH 1/2] chore: release v1.2.2 Release the Azure Linux distroless operator image fix while keeping the default DocumentDB engine at 1.0.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 14be153f-5a1e-4e64-9e27-21538f188fed Signed-off-by: Wenting Wu --- CHANGELOG.md | 8 ++++++-- .../v1/getting-started/before-you-start.md | 3 ++- docs/operator-public-documentation/v1/index.md | 2 +- operator/documentdb-helm-chart/Chart.yaml | 4 ++-- .../tests/02_sidecar_injector_test.yaml | 2 +- .../documentdb-helm-chart/tests/03_wal_replica_test.yaml | 2 +- .../tests/09_operator_deployment_test.yaml | 4 ++-- 7 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d15a116..a79025c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,14 @@ ## [Unreleased] +## [1.2.2] - 2026-11-24 + +Operator security-hardening release. The default DocumentDB engine stays at `1.0.1` (extension schema `1.0-0`). The operator image now uses Azure Linux distroless instead of the Alpine dev container base; the operator, sidecar and Helm chart are released together. The CRDs are unchanged from `1.2.0`; when upgrading from `1.1.x` or earlier, apply the `1.2.2` CRDs before `helm upgrade`. + ### Security -- The operator image moves from the Alpine dev container base to Azure Linux distroless, so it no longer ships OpenSSH (SSHole, CVE-2026-123158), BusyBox, `apk`, `sudo` or `git`. Earlier images ship only the OpenSSH client and never run `sshd`, so they were not exploitable. The image no longer has a shell; use `kubectl debug` to troubleshoot the operator pod. +- The operator image moves from the Alpine dev container base to Azure Linux distroless, so it no longer ships OpenSSH (SSHole, CVE-2026-123158), BusyBox, `apk`, `sudo` or `git`. Earlier images ship only the OpenSSH client and never run `sshd`, so they were not exploitable. The image no longer has a shell; use `kubectl debug` to troubleshoot the operator pod (#525). -## [1.2.1] - 2026-11-20 +## [1.2.1] - 2026-11-21 Security release. The default DocumentDB engine moves from `1.0.0` to `1.0.1`: the same engine (extension schema `1.0-0`) rebuilt on patched Debian packages. Unpinned clusters roll onto the new images when the operator is upgraded; there is no schema migration. The CRDs are unchanged from `1.2.0`; when upgrading from `1.1.x` or earlier, apply the `1.2.1` CRDs before `helm upgrade`. diff --git a/docs/operator-public-documentation/v1/getting-started/before-you-start.md b/docs/operator-public-documentation/v1/getting-started/before-you-start.md index 62546483..f7c3fe81 100644 --- a/docs/operator-public-documentation/v1/getting-started/before-you-start.md +++ b/docs/operator-public-documentation/v1/getting-started/before-you-start.md @@ -91,6 +91,7 @@ The operator and the DocumentDB engine have separate version numbers. The Helm c | Operator (Helm chart) | Default DocumentDB engine | Status | |-----------------------|---------------------------|--------| +| `1.2.2` | `1.0.1` (extension schema `1.0-0`) | Generally available; operator image uses Azure Linux distroless | | `1.2.1` | `1.0.1` (extension schema `1.0-0`) | Generally available; security update: default engine images rebuilt on patched Debian packages | | `1.2.0` | `1.0.0` (extension schema `1.0-0`) | Generally available; graduates the CRDs to the stable `documentdb.io/v1` API (`preview` is deprecated but still served) | | `1.1.0` | `1.0.0` (extension schema `1.0-0`) | Generally available; adds the combined-image fallback for clusters without image volume support | @@ -98,7 +99,7 @@ The operator and the DocumentDB engine have separate version numbers. The Helm c | `1.0.0-rc1` | `1.0-RC2` | Release candidate | | `0.3.0` | `0.110.0` | Preview | -Use operator `1.2.1` for DocumentDB 1.0. To move existing clusters to 1.0, see [Upgrading to DocumentDB 1.0](../operations/upgrades.md#upgrading-to-documentdb-10). Engine `1.0.1` is the `1.0.0` engine (same extension schema `1.0-0`) rebuilt with security fixes; see [Engine 1.0.1 security update](../operations/upgrades.md#engine-101-security-update). +Use operator `1.2.2` for DocumentDB 1.0. To move existing clusters to 1.0, see [Upgrading to DocumentDB 1.0](../operations/upgrades.md#upgrading-to-documentdb-10). Engine `1.0.1` is the `1.0.0` engine (same extension schema `1.0-0`) rebuilt with security fixes; see [Engine 1.0.1 security update](../operations/upgrades.md#engine-101-security-update). ## Terminology diff --git a/docs/operator-public-documentation/v1/index.md b/docs/operator-public-documentation/v1/index.md index 1e061c6b..f0058756 100644 --- a/docs/operator-public-documentation/v1/index.md +++ b/docs/operator-public-documentation/v1/index.md @@ -7,7 +7,7 @@ DocumentDB is the engine powering vCore-based Azure Cosmos DB for MongoDB. Built When you deploy a DocumentDB cluster, the operator creates and manages PostgreSQL instances, the [DocumentDB Gateway](https://github.com/microsoft/documentdb/tree/main/pg_documentdb_gw), and supporting Kubernetes resources. The gateway enables you to connect with MongoDB-compatible drivers, APIs, and tools, while PostgreSQL serves as the underlying storage engine. !!! note - Operator `1.2.1` is generally available for DocumentDB 1.0. The stable API version is `documentdb.io/v1`; the earlier `documentdb.io/preview` version is deprecated but still served for existing resources. We welcome your feedback and contributions! + Operator `1.2.2` is generally available for DocumentDB 1.0. The stable API version is `documentdb.io/v1`; the earlier `documentdb.io/preview` version is deprecated but still served for existing resources. We welcome your feedback and contributions! ## Quickstart diff --git a/operator/documentdb-helm-chart/Chart.yaml b/operator/documentdb-helm-chart/Chart.yaml index 877241f2..a75301e7 100644 --- a/operator/documentdb-helm-chart/Chart.yaml +++ b/operator/documentdb-helm-chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: documentdb-operator -version: 1.2.1 +version: 1.2.2 description: A Helm chart for deploying the DocumentDB operator # The operator prefers the Kubernetes ImageVolume feature (GA in 1.35, beta and # opt-in via feature gate in 1.33/1.34, and needs containerd >= 2.1 or @@ -11,7 +11,7 @@ description: A Helm chart for deploying the DocumentDB operator kubeVersion: ">= 1.32.0-0" # appVersion controls the default image tag for operator, sidecar, and wal-replica images. # Database image versions (documentdb extension + gateway) are controlled by documentDbVersion in values.yaml. -appVersion: "1.2.1" +appVersion: "1.2.2" dependencies: - name: cloudnative-pg version: "0.28.3" diff --git a/operator/documentdb-helm-chart/tests/02_sidecar_injector_test.yaml b/operator/documentdb-helm-chart/tests/02_sidecar_injector_test.yaml index f114f0e5..e7b6deea 100644 --- a/operator/documentdb-helm-chart/tests/02_sidecar_injector_test.yaml +++ b/operator/documentdb-helm-chart/tests/02_sidecar_injector_test.yaml @@ -64,7 +64,7 @@ tests: asserts: - equal: path: spec.template.spec.containers[0].image - value: "ghcr.io/documentdb/documentdb-kubernetes-operator/sidecar:1.2.1" + value: "ghcr.io/documentdb/documentdb-kubernetes-operator/sidecar:1.2.2" - it: should use a custom sidecar image tag when set set: diff --git a/operator/documentdb-helm-chart/tests/03_wal_replica_test.yaml b/operator/documentdb-helm-chart/tests/03_wal_replica_test.yaml index 5ecd71a3..8e862e6e 100644 --- a/operator/documentdb-helm-chart/tests/03_wal_replica_test.yaml +++ b/operator/documentdb-helm-chart/tests/03_wal_replica_test.yaml @@ -95,7 +95,7 @@ tests: asserts: - equal: path: spec.template.spec.containers[0].image - value: "ghcr.io/documentdb/documentdb-kubernetes-operator/wal-replica:1.2.1" + value: "ghcr.io/documentdb/documentdb-kubernetes-operator/wal-replica:1.2.2" - it: should use a custom wal-replica image tag when set set: diff --git a/operator/documentdb-helm-chart/tests/09_operator_deployment_test.yaml b/operator/documentdb-helm-chart/tests/09_operator_deployment_test.yaml index 2c10b0ab..819eae33 100644 --- a/operator/documentdb-helm-chart/tests/09_operator_deployment_test.yaml +++ b/operator/documentdb-helm-chart/tests/09_operator_deployment_test.yaml @@ -46,7 +46,7 @@ tests: asserts: - equal: path: spec.template.spec.containers[0].image - value: "ghcr.io/documentdb/documentdb-kubernetes-operator/operator:1.2.1" + value: "ghcr.io/documentdb/documentdb-kubernetes-operator/operator:1.2.2" - it: should use a custom image tag when set set: @@ -71,7 +71,7 @@ tests: asserts: - equal: path: spec.template.spec.containers[0].image - value: "mcr.microsoft.com/documentdb/documentdb-kubernetes-operator/operator:1.2.1" + value: "mcr.microsoft.com/documentdb/documentdb-kubernetes-operator/operator:1.2.2" - it: should use a per-component full-ref repository verbatim, ignoring image.registry set: From 1a1a0f60e8d854d8fa891378fb2877eb5874f6ff Mon Sep 17 00:00:00 2001 From: Wenting Wu Date: Tue, 24 Nov 2026 16:21:40 -0500 Subject: [PATCH 2/2] docs: preserve the 1.2.1 release date Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 14be153f-5a1e-4e64-9e27-21538f188fed Signed-off-by: Wenting Wu --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a79025c3..9b2d6d87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Operator security-hardening release. The default DocumentDB engine stays at `1.0 ### Security - The operator image moves from the Alpine dev container base to Azure Linux distroless, so it no longer ships OpenSSH (SSHole, CVE-2026-123158), BusyBox, `apk`, `sudo` or `git`. Earlier images ship only the OpenSSH client and never run `sshd`, so they were not exploitable. The image no longer has a shell; use `kubectl debug` to troubleshoot the operator pod (#525). -## [1.2.1] - 2026-11-21 +## [1.2.1] - 2026-11-20 Security release. The default DocumentDB engine moves from `1.0.0` to `1.0.1`: the same engine (extension schema `1.0-0`) rebuilt on patched Debian packages. Unpinned clusters roll onto the new images when the operator is upgraded; there is no schema migration. The CRDs are unchanged from `1.2.0`; when upgrading from `1.1.x` or earlier, apply the `1.2.1` CRDs before `helm upgrade`.