Skip to content

Commit e90987e

Browse files
jtschellingclaude
andcommitted
fix(mongodb-store): bump psmdb-operator to 1.22.0
Percona's server-mongodb-operator 1.21.x has a bug in its cert-manager TLS handling: when cert-manager is run with `--enable-certificate-owner-ref=true`, it sets the Certificate object as the controller-owner of the Secrets it issues. The operator's WaitForCerts() in that version unconditionally tries to also set the PerconaServerMongoDB CR as controller-owner of the same Secret, which Kubernetes rejects since an object can only have one controller-owner reference. This makes cert-manager-issued TLS never come up when that cert-manager flag is enabled, on every reconcile, with no automatic recovery: TLS secrets handler: "create ssl by cert-manager: update cert mangager certs: failed to apply cert-manager certificates: failed to wait for ca cert: set controller reference: Object <ns>/<cluster>-ca-cert is already owned by another Certificate controller <cluster>-ca-cert". Please create your TLS secret <cluster>-ssl manually or setup cert-manager correctly This is a known upstream issue, fixed in 1.22.0 by adding an IsControlledBy() check before attempting to set the owner reference: percona/percona-server-mongodb-operator#1981 Bumps the vendored psmdb-operator subchart's image tag from 1.21.0 to 1.22.0 and regenerates Chart.lock. The vendored CRDs are unchanged; 1.22.0's release notes list only additive, optional features (service-mesh appProtocol, restore replset remapping, disable-auth option, custom env vars), none of which mongodb-store's psmdb-db values currently use, so running 1.22.0 against the existing CRD schema is expected to be safe. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent c9c73b5 commit e90987e

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

distros/kubernetes/nvsentinel/charts/mongodb-store/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ dependencies:
44
version: 16.2.2
55
- name: psmdb-operator
66
repository: ""
7-
version: 1.21.1
7+
version: 1.22.0
88
- name: psmdb-db
99
repository: ""
1010
version: 1.21.1
11-
digest: sha256:52544f60c2e88079cc18da78164440e042103e5adc065668a648864e2ad938b9
12-
generated: "2025-11-19T15:26:21.985280107+05:30"
11+
digest: sha256:1b23ec6672ce758cfa2bb8346506c6c08ef01d2a5a964e049f680115799f4235
12+
generated: "2026-08-24T16:59:58.660281-07:00"

distros/kubernetes/nvsentinel/charts/mongodb-store/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
repository: ""
2626
condition: useBitnami
2727
- name: psmdb-operator
28-
version: "1.21.1"
28+
version: "1.22.0"
2929
repository: ""
3030
condition: usePerconaOperator
3131
- name: psmdb-db

distros/kubernetes/nvsentinel/charts/mongodb-store/charts/psmdb-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 1.21.0
2+
appVersion: 1.22.0
33
description: A Helm chart for deploying the Percona Operator for MongoDB
44
home: https://docs.percona.com/percona-operator-for-mongodb/
55
maintainers:
@@ -10,4 +10,4 @@ maintainers:
1010
- email: eleonora.zinchenko@percona.com
1111
name: eleo007
1212
name: psmdb-operator
13-
version: 1.21.1
13+
version: 1.22.0

distros/kubernetes/nvsentinel/charts/mongodb-store/charts/psmdb-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66

77
image:
88
repository: percona/percona-server-mongodb-operator
9-
tag: 1.21.0
9+
tag: 1.22.0
1010
pullPolicy: IfNotPresent
1111

1212
# disableTelemetry: according to

0 commit comments

Comments
 (0)