chore(packages/apps/mongodb): bump CR version to 1.22.0

Matches the managed MongoDB CR (`spec.crVersion`) to the psmdb-operator 1.22.0
bump so the platform tracks the deployed operator instead of running at the
N-1 skew. The 1.22.0 CR schema is additive (no new required fields), so
existing instances reconcile cleanly under SmartUpdate. PMM (disabled by
default) and the PBM 2.11.0 sidecar stay compatible with operator 1.22.0;
refreshing their image matrix is a separate apps/mongodb concern.

Adaptations:
- templates/mongodb.yaml: spec.crVersion 1.21.1 -> 1.22.0
- tests/mongodb_test.yaml: update crVersion assertion to 1.22.0

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei Sviridkin committed 2026-06-22 18:55:38 +03:00
1 parent c638c02836
commit 162a57d2ea
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ metadata:
- percona.com/delete-psmdb-pods-in-order
- percona.com/delete-psmdb-pvc
spec:
crVersion: 1.21.1
crVersion: 1.22.0
clusterServiceDNSSuffix: svc.{{ $clusterDomain }}
secrets:
users: {{ .Release.Name }}-percona-server-mongodb-users
@@ -106,7 +106,7 @@ tests:
# CR Version #
##################
- it: sets crVersion to 1.21.1
- it: sets crVersion to 1.22.0
release:
name: test-mongodb
namespace: tenant-test
@@ -116,7 +116,7 @@ tests:
asserts:
- equal:
path: spec.crVersion
value: "1.21.1"
value: "1.22.0"
documentIndex: 0
#####################