Overview
I upgraded the pgo from helm chart 5.8.7 to 6.0.1 (with the operator image tag from ubi9-5.8.4-0 to ubi9-6.0.1-0).
After applying the CRDs, I also upgraded the apiVersion of my postgrescluster resources, as recommended in https://access.crunchydata.com/documentation/postgres-operator/latest/upgrade/postgrescluster-api and applied this via helm.
apiVersion: postgres-operator.crunchydata.com/v1beta1 ->
apiVersion: postgres-operator.crunchydata.com/v1
This results in
- The postgrescluster resource is updated by helmfile
- The pod starts up and gets healthy
- The operator deletes the postgrescluster
`time="2026-04-27T16:14:37Z" level=debug msg=deleting PostgresCluster=<REDACTED>/postgres-<REDACTED> controller=postgrescluster controllerGroup=postgres-operator.crunchydata.com controllerKind=PostgresCluster name=postgres-<REDACTED> namespace=<REDACTED> reconcileID=2c8cc229-fffd-4b77-86ce-d058ee99a5a5 result="{Requeue:false RequeueAfter:0s Priority:<nil>}" version=6.0.1-0`
Environment
Please provide the following details:
- Platform: Kubernetes
- Platform Version: v1.34.6+rke2r3
- PGO Image Tag: ubi9-6.0.1-0
- Postgres Version: 15
- Storage: irrelevant
Steps to Reproduce
REPRO
Provide steps to get to the error condition:
- upgrade pgo helm chart
- apply new CRDs
- change apiVersion from v1beta1 to v1 on postgrescluster resource
- pgo deletes postgrescluster
- sadness
EXPECTED
- no deleted postgrescluster
ACTUAL
- postgrescluster is gone
Logs
See above
Additional Information
Please provide any additional information that may be helpful.
Overview
I upgraded the pgo from helm chart
5.8.7to6.0.1(with the operator image tag fromubi9-5.8.4-0toubi9-6.0.1-0).After applying the CRDs, I also upgraded the apiVersion of my
postgresclusterresources, as recommended in https://access.crunchydata.com/documentation/postgres-operator/latest/upgrade/postgrescluster-api and applied this via helm.apiVersion: postgres-operator.crunchydata.com/v1beta1 ->
apiVersion: postgres-operator.crunchydata.com/v1
This results in
Environment
Please provide the following details:
Steps to Reproduce
REPRO
Provide steps to get to the error condition:
EXPECTED
ACTUAL
Logs
See above
Additional Information
Please provide any additional information that may be helpful.