sorintlab / stolon

PostgreSQL cloud native High Availability and more.
https://talk.stolon.io
Apache License 2.0
4.66k stars 447 forks source link

How to specify common name while generating tls certificate for stolon in k8s #744

Closed wantdrink closed 4 years ago

wantdrink commented 4 years ago

Hi there,

I'm using stolon chart to deploy pg12. A simple question is how to specify the common name in certificate. I used to generate that by a chain of DB hostnames, but in K8S the pod hostname is different from the host machine name.

BTW The pg ha is only used in k8s internally and won't be exposed to outside.

Thanks.

sgotti commented 4 years ago

@wantdrink The stolon helm chart is not part of this project. Anyway for any support question (like explained in the issue template) please use the gitter channel: https://github.com/sorintlab/stolon#contacts

wantdrink commented 4 years ago

Thanks @sgotti