postgres-operator-examples icon indicating copy to clipboard operation
postgres-operator-examples copied to clipboard

Helm does not support PostgresCluster annotations

Open drewburr opened this issue 1 year ago • 1 comments

The provided Helm chart does not support templating a PostgresCluster with the autoCreateUserSchema annotation.

Would it make sense to template .Values.metadata into PostgresCluster, or explicitly support labels/annotations if set?

drewburr avatar Nov 22 '24 05:11 drewburr

That use-case makes sense to me. I'm not sure I understand the second of the two options you list:

  • template .Values.metadata
  • "explicitly support labels/annotations if set" -- do you mean something like have a .Values.autoCreateUserSchema and use that to set that particular annotation?

Happy to talk out this need and also happy to look over a PR if you're interested.

benjaminjb avatar May 02 '25 19:05 benjaminjb