percona-postgresql-operator
percona-postgresql-operator copied to clipboard
K8SPG-792 Make patroni check check respect default image settings
CHANGE DESCRIPTION
Problem: See #1148
Cause: Makes pod with patroni version check respect default image if there is any
Solution:
Wrapped around builtin PGO function from upstream. Would be a problem importing pkg/apis/pgv2.percona.com/v2/perconapgcluster_types.go into PGO config module due to dependency cycle.
fixes: #1148
CHECKLIST
Jira
- [x] 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?
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?
- [x] Did we ensure compatibility with the previous version or cluster upgrade process?
- [x] Does the change support oldest and newest supported PG version?
- [x] Does the change support oldest and newest supported Kubernetes version?
| Test Name | Result | Time |
|---|---|---|
| backup-enable-disable | passed | 00:00:00 |
| custom-extensions | passed | 00:00:00 |
| custom-tls | passed | 00:00:00 |
| demand-backup | passed | 00:00:00 |
| finalizers | passed | 00:04:30 |
| init-deploy | passed | 00:00:00 |
| monitoring | passed | 00:00:00 |
| monitoring-pmm3 | passed | 00:00:00 |
| one-pod | passed | 00:00:00 |
| operator-self-healing | passed | 00:00:00 |
| pitr | passed | 00:00:00 |
| scaling | passed | 00:05:47 |
| scheduled-backup | passed | 00:00:00 |
| self-healing | passed | 00:00:00 |
| sidecars | passed | 00:00:00 |
| start-from-backup | passed | 00:00:00 |
| tablespaces | passed | 00:00:00 |
| telemetry-transfer | passed | 00:00:00 |
| upgrade-consistency | passed | 00:00:00 |
| upgrade-minor | passed | 00:00:00 |
| users | passed | 00:00:00 |
| We run 21 out of 21 | 00:10:17 |
commit: https://github.com/percona/percona-postgresql-operator/pull/1167/commits/ad5c5a43056bfa60113d8efbe09f332f204ad51d
image: perconalab/percona-postgresql-operator:PR-1167-ad5c5a430
@Kajot-dev thank you for your contribution. We will include this fix in PGO 2.7.0.