Skip to content

K8SPG-724: fix extension reinstall #1228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

K8SPG-724: fix extension reinstall #1228

wants to merge 1 commit into from

Conversation

pooknull
Copy link
Contributor

@pooknull pooknull commented Jul 16, 2025

K8SPG-724 Powered by Pull Request Badge

https://perconadev.atlassian.net/browse/K8SPG-724

DESCRIPTION

Problem:
On update of the version field for a custom extension, operator uninstalls the old version but doesn't install the new version.

Solution:
Change the order of operations in the install-extensions.sh script: first uninstall the extension, then install the new one.

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?

@JNKPercona
Copy link
Collaborator

Test Name Result Time
backup-enable-disable passed 00:06:07
custom-extensions passed 00:09:40
custom-tls passed 00:06:32
database-init-sql passed 00:03:26
demand-backup passed 00:26:32
finalizers passed 00:03:27
init-deploy passed 00:03:26
monitoring passed 00:06:51
monitoring-pmm3 passed 00:07:55
one-pod passed 00:05:17
operator-self-healing passed 00:07:26
pgvector-extension passed 00:02:24
pitr passed 00:11:57
scaling passed 00:04:28
scheduled-backup passed 00:24:10
self-healing passed 00:08:18
sidecars passed 00:04:03
start-from-backup passed 00:11:23
tablespaces passed 00:07:09
telemetry-transfer passed 00:03:52
upgrade-consistency passed 00:06:31
upgrade-minor passed 00:05:22
users passed 00:03:35
We run 23 out of 23 03:00:04

commit: 06ec5e9
image: perconalab/percona-postgresql-operator:PR-1228-06ec5e93e

Copy link
Collaborator

@hors hors left a comment

Choose a reason for hiding this comment

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

@pooknull we have updated this test under https://github.com/percona/percona-postgresql-operator/tree/K8SPG-624 please create PR based on this branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants