Skip to content

[cluster] Support pooler pgbouncer client/server TLS configuration #785

@tghartland

Description

@tghartland

cloudnative-pg/cloudnative-pg#8692 added support for custom TLS secrets in the pooler.spec.pgbouncer configuration.

https://cloudnative-pg.io/docs/devel/cloudnative-pg.v1/#pgbouncerspec

serverTLSSecret
serverCASecret

clientTLSSecret
clientCASecret

The cluster chart does not support these fields in its configuration for the pgbouncer config, and doesn't support setting arbitrary fields so these options are unable to be set.

pgbouncer:
poolMode: {{ default "session" .poolMode }}
{{- with .authQuerySecret }}
authQuerySecret:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .authQuery }}
authQuery:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .parameters }}
parameters:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .pg_hba }}
pg_hba:
{{- toYaml . | nindent 6 }}
{{- end }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions