postgres-operator
postgres-operator copied to clipboard
Helm value enable_crd_registration vs. Documentation
Reading the values.yaml from the Helm chart:
configGeneral:
# the deployment should create/update the CRDs
enable_crd_registration: true
makes me think, that a Helm upgrade would upgrade the CRDs.
But in the documentation, i read: https://postgres-operator.readthedocs.io/en/latest/administrator/#upgrading-the-operator
When using helm, be aware that installing the new chart will not update the Postgresql and OperatorConfiguration CRD. Make sure to update them before with the provided manifests in the crds folder. Otherwise, you might face errors about new Postgres manifest or configuration options being unknown to the CRD schema validation.
In fact, the helm upgrade upgrades the CRDs, but for me it is not clear if this is a safe upgrade path. If it is, documentation should be updated, if not, a warning in the Helm values.yaml would be good.