percona-postgresql-operator icon indicating copy to clipboard operation
percona-postgresql-operator copied to clipboard

K8SPG-799 configure imagepullsecrets for patroni version check pod - add envtests

Open gkech opened this issue 5 months ago • 1 comments

K8SPG-799 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:

ImagePullSecrets are not configured for the patroni version check pod.

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

Solution:

Wire properly the cr option imagePullSecrets with the patroni version check pod spec. Introduce related envtests to verify the behaviour. Ideally in the future we should extract the patroni version check pod construction from the controller and unit test is separately.

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?

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 PG version?
  • [ ] Does the change support oldest and newest supported Kubernetes version?

gkech avatar Jun 26 '25 08:06 gkech

Test name Status
backup-enable-disable passed
custom-extensions passed
custom-tls passed
demand-backup passed
finalizers passed
init-deploy passed
monitoring passed
monitoring-pmm3 passed
one-pod passed
operator-self-healing passed
pitr passed
scaling passed
scheduled-backup passed
self-healing passed
sidecars passed
start-from-backup passed
tablespaces passed
telemetry-transfer passed
upgrade-consistency passed
upgrade-minor passed
users passed
We run 21 out of 21

commit: https://github.com/percona/percona-postgresql-operator/pull/1184/commits/d743e102258a47ba821b6f2fa619e02a35471749 image: perconalab/percona-postgresql-operator:PR-1184-d743e1022

JNKPercona avatar Jun 28 '25 17:06 JNKPercona