Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

## [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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@ 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 |
| `1.0.0` | `1.0.0` (extension schema `1.0-0`) | Generally available |
| `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

Expand Down
2 changes: 1 addition & 1 deletion docs/operator-public-documentation/v1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions operator/documentdb-helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
Loading