postgres-operator-examples
postgres-operator-examples copied to clipboard
Helm does not support PostgresCluster annotations
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?
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.autoCreateUserSchemaand 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.