Skip to content

K8SPXC-1792: Update versions back to main after 1.20.0 release#2518

Merged
eleo007 merged 8 commits into
mainfrom
release-1.20.0
Jun 9, 2026
Merged

K8SPXC-1792: Update versions back to main after 1.20.0 release#2518
eleo007 merged 8 commits into
mainfrom
release-1.20.0

Conversation

@eleo007

@eleo007 eleo007 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

CHANGE DESCRIPTION

Problem:
Short explanation of the problem.

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?
  • Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PXC version?
  • Does the change support oldest and newest supported Kubernetes version?

eleo007 and others added 6 commits June 3, 2026 14:45
* K8SPXC-1792: Update images and versions for 1.20.0 release

* Fix logcollector version in crs
Co-authored-by: Eleonora Zinchenko <eleonora.zinchenko@percona.com>
* K8SPXC-1792: Update versions back to main after 1.20.0

* Remove bogdanjeler-ev from codeowners

* Add upgrade-consistency-after-release to after-release

* Fix manifests workflow

* Fix upgrade consistency test

* Fix comment in Makefile

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the operator and test scaffolding back to “main/dev” expectations after the 1.20.0 release by bumping the operator version, refreshing pinned dependencies, and sliding E2E upgrade-consistency fixtures forward.

Changes:

  • Bump operator version labels/CR version from 1.20.0 to 1.21.0 across deploy artifacts and version files.
  • Update “after release” automation (Makefile + workflow) to restore perconalab/dev images and advance upgrade-consistency compare fixtures.
  • Refresh E2E fixtures/scripts and Go deps (notably golang.org/x/crypto and golang.org/x/net).

Reviewed changes

Copilot reviewed 44 out of 49 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pkg/version/version.txt Bumps recorded operator version to 1.21.0.
Makefile Extends after-release to revert dev images + adds upgrade-consistency-after-release automation.
go.mod Updates indirect golang.org/x/* dependencies.
go.sum Adds checksums for updated golang.org/x/* versions.
e2e-tests/users/compare/select-2-proxysql3.sql Updates expected ProxySQL3 table list (adds pgsql* tables).
e2e-tests/users-scheduler/compare/select-2-proxysql3.sql Same expected table list update for scheduler variant.
e2e-tests/upgrade-consistency/run Slides tested CR versions window forward (now includes 1.19.1/1.20.0/1.21.0).
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1210.yml Updates expected StatefulSet snapshot for 1.21.0 run.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1210-oc.yml OpenShift variant snapshot update for 1.21.0.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1200.yml Adjusts generation metadata for shifted window.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1200-oc.yml OpenShift variant generation adjustment.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1191.yml Adjusts generation metadata for shifted window.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1191-oc.yml OpenShift variant generation adjustment.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1180-oc.yml Removes oldest-window OpenShift compare fixture.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-pxc-1170.yml Removes oldest-window compare fixture.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1210.yml Updates expected ProxySQL StatefulSet snapshot for 1.21.0.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1210-oc.yml OpenShift variant snapshot update for 1.21.0.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1200.yml Adjusts generation metadata for shifted window.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1200-oc.yml OpenShift variant generation adjustment.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1191.yml Adds env expectations + generation adjustment for shifted window.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1191-oc.yml OpenShift variant generation adjustment.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1170.yml Removes oldest-window compare fixture.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1170-oc.yml Removes oldest-window OpenShift compare fixture.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1161.yml Removes oldest-window compare fixture.
e2e-tests/upgrade-consistency/compare/statefulset_some-name-proxysql-1161-oc.yml Removes oldest-window OpenShift compare fixture.
e2e-tests/upgrade-consistency/compare/service_some-name-pxc-1210.yml Adds Service compare fixture for 1.21.0 window.
e2e-tests/upgrade-consistency/compare/service_some-name-pxc-1191.yml Adds Service compare fixture for 1.19.1 window.
e2e-tests/upgrade-consistency/compare/service_some-name-pxc-1190.yml Removes Service fixture for dropped 1.19.0.
e2e-tests/upgrade-consistency/compare/service_some-name-pxc-1180.yml Removes Service fixture for dropped 1.18.0.
e2e-tests/upgrade-consistency/compare/service_some-name-proxysql-1210.yml Adds ProxySQL Service compare fixture for 1.21.0 window.
e2e-tests/upgrade-consistency/compare/service_some-name-proxysql-1191.yml Adds ProxySQL Service compare fixture for 1.19.1 window.
e2e-tests/upgrade-consistency/compare/service_some-name-proxysql-1190.yml Removes ProxySQL Service fixture for dropped 1.19.0.
e2e-tests/upgrade-consistency/compare/service_some-name-proxysql-1161.yml Removes ProxySQL Service fixture for dropped 1.16.1.
e2e-tests/release_versions Restores perconalab/dev images and bumps tested k8s/OpenShift/minikube versions.
e2e-tests/pvc-resize/run Adjusts PVC resize size unit selection for AKS/EKS and prints chosen unit.
e2e-tests/functions Bumps cert-manager version and makes PMM wait vars local.
e2e-tests/demand-backup-cloud-pxb/run Makes backup destination file selection depend on PXC image (5.7 vs non-5.7).
e2e-tests/default-cr/run Makes API key retrieval tolerate failures (but needs further correction per review comment).
deploy/cw-bundle.yaml Bumps app.kubernetes.io/version label to v1.21.0.
deploy/crd.yaml Bumps app.kubernetes.io/version label to v1.21.0.
deploy/cr.yaml Bumps crVersion to 1.21.0.
deploy/cr-minimal.yaml Bumps crVersion to 1.21.0.
deploy/bundle.yaml Bumps app.kubernetes.io/version label to v1.21.0.
config/crd/patches/versionlabel_in_pxcrestore.yaml Bumps version label to v1.21.0.
config/crd/patches/versionlabel_in_pxcbackup.yaml Bumps version label to v1.21.0.
config/crd/patches/versionlabel_in_pxc.yaml Bumps version label to v1.21.0.
build/logcollector/entrypoint.sh Ensures passwd UID handling happens earlier for logrotate.
.github/workflows/reviewdog.yml Tweaks release/non-release manifest checks; adds deploy-vs-release_versions consistency job.
.github/CODEOWNERS Updates code owners for e2e-tests and Jenkinsfile.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +146 to +149
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Verify each deploy/*.yaml image matches its e2e-tests/release_versions entry
shell: bash
run: |
Comment thread e2e-tests/default-cr/run
Comment on lines +71 to +74
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key || true)
retry=0
until [[ -n $API_KEY ]]; do
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key)
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key || true)
valmiranogueira
valmiranogueira previously approved these changes Jun 8, 2026
Comment thread e2e-tests/demand-backup-cloud-pxb/run Outdated
@@ -0,0 +1,298 @@
#!/usr/bin/env bash

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eleo007 the problem is that we do not have this test anymore

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copilot AI review requested due to automatic review settings June 8, 2026 16:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 41 out of 45 changed files in this pull request and generated 3 comments.

Comment on lines +146 to +149
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Verify each deploy/*.yaml image matches its e2e-tests/release_versions entry
shell: bash
run: |
Comment thread Makefile
Comment on lines +199 to +202
# Update the upgrade-consistency test window to the next version.
# Gets the 3 tested versions from the run file, drops the oldest, keeps the two newest, and appends the next development version X.(Y+1).0.
# Copies and renames compare files, bumps generation version in statefulset compare files.
UC_DIR := e2e-tests/upgrade-consistency
Comment thread e2e-tests/default-cr/run
Comment on lines +71 to 75
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key || true)
retry=0
until [[ -n $API_KEY ]]; do
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key)
API_KEY=$(curl --insecure -X POST -H "Content-Type: application/json" -d '{"name":"operator", "role": "Admin"}' "https://admin:$ADMIN_PASSWORD@$MONITORING_ENDPOINT/graph/api/auth/keys" | jq .key || true)
sleep 5
@JNKPercona

Copy link
Copy Markdown
Collaborator
Test Name Result Time
auto-tuning-8-0 passed 00:00:00
allocator-8-0 passed 00:00:00
allocator-8-4 passed 00:00:00
backup-storage-tls-8-0 passed 00:00:00
cross-site-8-0 passed 00:00:00
cross-site-proxysql-8-0 passed 00:00:00
cross-site-proxysql-8-4 passed 00:00:00
custom-users-8-0 passed 00:00:00
demand-backup-cloud-aws-8-0 passed 00:00:00
demand-backup-cloud-aws-8-4 passed 00:00:00
demand-backup-cloud-azure-8-0 passed 00:00:00
demand-backup-cloud-gcs-8-0 passed 00:00:00
demand-backup-cloud-pxb-aws-8-0 passed 00:00:00
demand-backup-cloud-pxb-azure-8-0 passed 00:00:00
demand-backup-cloud-pxb-gcs-8-0 passed 00:00:00
demand-backup-encrypted-with-tls-5-7 passed 00:00:00
demand-backup-encrypted-with-tls-8-0 passed 00:00:00
demand-backup-encrypted-with-tls-8-4 passed 00:00:00
demand-backup-encrypted-with-tls-s3-5-7 passed 00:00:00
demand-backup-encrypted-with-tls-s3-8-0 passed 00:00:00
demand-backup-encrypted-with-tls-s3-8-4 passed 00:00:00
demand-backup-encrypted-with-tls-pxb-5-7 passed 00:00:00
demand-backup-encrypted-with-tls-pxb-8-0 passed 00:00:00
demand-backup-encrypted-with-tls-pxb-8-4 passed 00:00:00
demand-backup-8-0 passed 00:00:00
demand-backup-minio-8-0 passed 00:00:00
demand-backup-flow-control-8-0 passed 00:00:00
demand-backup-flow-control-8-4 passed 00:00:00
demand-backup-parallel-8-0 passed 00:00:00
demand-backup-parallel-8-4 passed 00:00:00
demand-backup-without-passwords-8-0 passed 00:00:00
demand-backup-without-passwords-8-4 passed 00:00:00
extra-pvc-8-0 passed 00:00:00
haproxy-5-7 passed 00:00:00
haproxy-8-0 passed 00:00:00
haproxy-8-4 passed 00:00:00
init-deploy-5-7 passed 00:00:00
init-deploy-8-0 passed 00:00:00
limits-8-0 passed 00:00:00
monitoring-2-0-8-0 passed 00:24:10
monitoring-pmm3-8-0 passed 00:00:00
monitoring-pmm3-8-4 passed 00:00:00
one-pod-5-7 passed 00:00:00
one-pod-8-0 passed 00:00:00
pitr-8-0 passed 00:00:00
pitr-8-4 passed 00:00:00
pitr-pxb-8-0 passed 00:00:00
pitr-pxb-8-4 passed 00:00:00
pitr-gap-errors-8-0 passed 00:00:00
pitr-gap-errors-8-4 passed 00:00:00
proxy-protocol-8-0 passed 00:00:00
proxy-switch-8-0 passed 00:00:00
proxysql-sidecar-res-limits-8-0 passed 00:00:00
proxysql-scheduler-8-0 passed 00:00:00
pvc-resize-5-7 passed 00:00:00
pvc-resize-8-0 passed 00:00:00
pvc-auto-resize-5-7 passed 00:00:00
pvc-auto-resize-8-0 passed 00:00:00
recreate-8-0 passed 00:00:00
restore-to-encrypted-cluster-8-0 passed 00:00:00
restore-to-encrypted-cluster-8-4 passed 00:00:00
restore-to-encrypted-cluster-s3-8-0 passed 00:00:00
restore-to-encrypted-cluster-s3-8-4 passed 00:00:00
restore-to-encrypted-cluster-pxb-8-0 passed 00:00:00
restore-to-encrypted-cluster-pxb-8-4 passed 00:00:00
scaling-proxysql-8-0 passed 00:00:00
scaling-8-0 passed 00:00:00
scheduled-backup-5-7 passed 00:00:00
scheduled-backup-8-0 passed 00:00:00
scheduled-backup-8-4 passed 00:00:00
scheduled-backup-aws-8-0 passed 00:00:00
scheduled-backup-aws-8-4 passed 00:00:00
scheduled-backup-azure-8-0 passed 00:00:00
scheduled-backup-azure-8-4 passed 00:00:00
scheduled-backup-gcs-8-0 passed 00:00:00
scheduled-backup-gcs-8-4 passed 00:00:00
security-context-8-0 passed 00:00:00
smart-update1-8-0 passed 00:00:00
smart-update1-8-4 passed 00:00:00
smart-update2-8-0 passed 00:00:00
smart-update2-8-4 passed 00:00:00
smart-update3-8-0 passed 00:00:00
sst-retry-limit-8-0 passed 00:17:02
sst-retry-limit-8-4 passed 00:00:00
storage-8-0 passed 00:00:00
tls-issue-cert-manager-ref-8-0 passed 00:00:00
tls-issue-cert-manager-8-0 passed 00:00:00
tls-issue-self-8-0 passed 00:00:00
unsafe-flag-backup-if-unhealthy-8-0 passed 00:00:00
unsafe-flag-proxy-size-8-0 passed 00:00:00
unsafe-flag-pxc-size-8-0 passed 00:00:00
unsafe-flag-tls-8-0 passed 00:00:00
upgrade-consistency-8-0 passed 00:00:00
upgrade-consistency-8-4 passed 00:00:00
upgrade-haproxy-5-7 passed 00:00:00
upgrade-haproxy-8-0 passed 00:00:00
upgrade-proxysql-5-7 passed 00:00:00
upgrade-proxysql-8-0 passed 00:00:00
users-5-7 passed 00:32:47
users-8-0 passed 00:31:38
users-scheduler-8-4 passed 00:32:30
validation-hook-8-0 passed 00:00:00
Summary Value
Tests Run 102/102
Job Duration 01:00:26
Total Test Time 02:18:09

commit: f858464
image: perconalab/percona-xtradb-cluster-operator:PR-2518-f8584647

@eleo007 eleo007 requested review from hors and valmiranogueira June 9, 2026 07:24
@eleo007 eleo007 merged commit 7a8add7 into main Jun 9, 2026
18 checks passed
@eleo007 eleo007 deleted the release-1.20.0 branch June 9, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants