spreaker / prometheus-pgbouncer-exporter

Prometheus exporter for PgBouncer
MIT License
104 stars 38 forks source link

Need TLS / SSL Support #54

Open bobpach opened 1 year ago

bobpach commented 1 year ago

I have a postgres cluster with 2 pgbouncer instances that require SSL for all connections. I am attaching this container as a sidecar to my pgbouncer pod. It would be great if I could set env vars that pull certs from existing secrets in the namespace and have the connection use them when present.

e.g.

    env:
        - name: TLS_CERT
          valueFrom:
            configMapKeyRef:
              name: <my_cert-secret_key_name>
              key: <my_cert_secret_value>