-
Notifications
You must be signed in to change notification settings - Fork 198
Description
I see that cluster.yaml is just updated, and when I deploy cnpg/cluster I get the following error:
Error: Cluster.postgresql.cnpg.io "dbName" is invalid: [spec.externalClusters: Invalid value: "null": spec.externalClusters in body must be of type array: "null", : Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]
Looking at cluster\templates\cluster.yaml, I see this:
{{ include "cluster.externalClusters" . | nindent 2 }}
Should there be a _externalClusters.tpl as well?
Here is my helm command:
helm upgrade --install --timeout=600s dbName cnpg/cluster --set cluster.imagePullPolicy=Always --set nameOverride=dbName --set fullnameOverride=dbName --set-string version.postgresql=15 --set cluster.instances=1 --set cluster.enableSuperuserAccess=true --set cluster.superuserSecret=postgresuser-secret