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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- **`documentdb.io/v1` API**: `DocumentDB`, `Backup` and `ScheduledBackup` graduate from `documentdb.io/preview` to the stable `documentdb.io/v1` API, which is now the storage version. `preview` remains served with an identical schema and returns a deprecation warning; it will be removed in a future release. **Apply the updated CRDs before running `helm upgrade`** (Helm does not upgrade CRDs), otherwise the new operator cannot start. Update manifests to `apiVersion: documentdb.io/v1`; no other field changes are needed. The Go API package moved from `operator/src/api/preview` to `operator/src/api/v1`, the validating webhook path is now `/validate-documentdb-io-v1-documentdb`, and `kubectl documentdb` uses `v1`. The public documentation moved from `.../preview/` to `.../v1/`; old URLs redirect. See [Migrating to the `documentdb.io/v1` API](docs/operator-public-documentation/v1/operations/upgrades.md#migrating-to-the-documentdbiov1-api).

### Security
- Require Go 1.26.11 across all six modules and pin Go builder images to that patch release to address [GO-2026-6859](https://pkg.go.dev/vuln/GO-2026-6859) in `net/http`.
- Upgrade the cert-manager Go dependency and pinned Arc/Fleet installations to `v1.19.6` to address [CVE-2026-62290](https://github.com/advisories/GHSA-8rvj-mm4h-c258). Existing clusters must upgrade their separately installed cert-manager controller to a patched release (`1.19.6` or `1.20.3`); upgrading the DocumentDB operator alone does not upgrade cert-manager.
- Upgrade `github.com/klauspost/compress` to `v1.20.2` in the sidecar injector and shared, E2E, and long-haul test modules to address [GO-2026-6865](https://pkg.go.dev/vuln/GO-2026-6865).

Expand Down
2 changes: 1 addition & 1 deletion docs/designs/image-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ The build process:
### Dockerfile Details

#### Operator (`operator/src/Dockerfile`)
- **Base**: `mcr.microsoft.com/oss/go/microsoft/golang:1.26.10-azurelinux3.0` → `scratch`
- **Base**: `mcr.microsoft.com/oss/go/microsoft/golang:1.26.11-azurelinux3.0` → `scratch`
- **Multi-stage**: 2 stages (builder → scratch)
- **Entrypoint**: `/manager`

Expand Down
2 changes: 1 addition & 1 deletion documentdb-kubectl-plugin/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/documentdb-operator/documentdb-kubectl-plugin

go 1.26.10
go 1.26.11

require (
github.com/documentdb/documentdb-operator v0.0.0
Expand Down
2 changes: 1 addition & 1 deletion operator/cnpg-plugins/sidecar-injector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ARG TARGETOS
ARG TARGETARCH
ARG ARCH
FROM --platform=${TARGETOS:-linux}/${ARCH:-${TARGETARCH}} mcr.microsoft.com/oss/go/microsoft/golang:1.26.10-azurelinux3.0 AS builder
FROM --platform=${TARGETOS:-linux}/${ARCH:-${TARGETARCH}} mcr.microsoft.com/oss/go/microsoft/golang:1.26.11-azurelinux3.0 AS builder


# Cache the dependencies
Expand Down
2 changes: 1 addition & 1 deletion operator/cnpg-plugins/sidecar-injector/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/cnpg-i-sidecar-injector

go 1.26.10
go 1.26.11

require (
github.com/cloudnative-pg/api v1.25.1
Expand Down
2 changes: 1 addition & 1 deletion operator/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ARG TARGETOS
ARG TARGETARCH
ARG ARCH
FROM --platform=${TARGETOS:-linux}/${ARCH:-${TARGETARCH}} mcr.microsoft.com/oss/go/microsoft/golang:1.26.10-azurelinux3.0 AS builder
FROM --platform=${TARGETOS:-linux}/${ARCH:-${TARGETARCH}} mcr.microsoft.com/oss/go/microsoft/golang:1.26.11-azurelinux3.0 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion operator/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/documentdb-operator

go 1.26.10
go 1.26.11

godebug default=go1.23

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/documentdb-operator/test/e2e

go 1.26.10
go 1.26.11

require (
github.com/cloudnative-pg/cloudnative-pg v1.29.2
Expand Down
2 changes: 1 addition & 1 deletion test/longhaul/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# docker build -f test/longhaul/Dockerfile -t <registry>/longhaul-test:latest .
#
FROM golang:1.26.10-alpine AS builder
FROM golang:1.26.11-alpine AS builder

# Note: the golang:*-alpine image already ships ca-certificates, and all
# deps in go.mod resolve via proxy.golang.org (no VCS fetches), so neither
Expand Down
2 changes: 1 addition & 1 deletion test/longhaul/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/documentdb-operator/test/longhaul

go 1.26.10
go 1.26.11

require (
github.com/cloudnative-pg/cloudnative-pg v1.29.2
Expand Down
2 changes: 1 addition & 1 deletion test/shared/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/documentdb/documentdb-operator/test/shared

go 1.26.10
go 1.26.11

require (
github.com/cloudnative-pg/cloudnative-pg v1.29.2
Expand Down
Loading