Cluster poolers is missing serviceTemplate
The readme states that poolers can have a ServiceTemplateSpec defined under template, however this is where the PodTemplateSpec is supposed to go. When trying to specify a service template, CNPG complains about missing pod template spec.
A new serviceTemplate option should be added instead to properly configure this.
Not sure I got your point, serviceTemplate is already available: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PoolerSpec
I'm also encountering the same issue. The chart doesn't currently surface the serviceTemplate property for Poolers, so there isn't a way to add annotations to the pooler services using the chart.
Hi, @PseudoResonance. I'm Dosu, and I'm helping the charts team manage their backlog and am marking this issue as stale.
Issue Summary:
- You identified that the Helm chart for cluster poolers does not support a separate
serviceTemplateoption. - Documentation mentions
serviceTemplatefor service customization, but the chart only exposestemplate. - This limitation prevents adding annotations to pooler services as intended.
- Maintainer phisco confirmed
serviceTemplateexists in the CRD but is not exposed in the Helm chart. - The issue remains unresolved, highlighting a gap between documentation and chart functionality.
Next Steps:
- Please let me know if this issue is still relevant with the latest version of the charts by commenting here.
- If I don’t hear back within 7 days, I will automatically close the issue.
Thank you for your understanding and contribution!
no-stale
@phisco, PseudoResonance has indicated that this issue is still relevant. Could you please assist with the support for serviceTemplate in the Helm chart?