[Bug]: Bootstrapping from a backup fails if ssl = on
is present in the backup's postgresql.auto.conf
#4509
Labels
triage
Pending triage
Is there an existing issue already for this bug?
I have read the troubleshooting guide
I am running a supported version of CloudNativePG
Contact Details
No response
Version
older in 1.21.x
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Cloud: Amazon EKS
How did you install the operator?
YAML manifest
What happened?
The backup stored in S3 has
postgresql.auto.conf
withssl = on
in it. The bootstrapping fails after successfully restoring the backup with this error message:Looking at the code:
we do attempt to override the
ssl
setting, butpostgresql.auto.conf
has the final say.Perhaps it would be better to just remove it when bootstrapping from a backup, because who knows what else might be there messing up with the new cluster's config.
Cluster resource
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: