You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update postgresql.conf: ssl=on... set cert and key file names
upload cert and key files in the image
update pg_hba.conf with hostssl ...
But, where in the image filesystem should I put postgresql.conf and pg_hba.conf? What ever iss in /var/lib/postgresql/data/ is ovewritten. I can set arguments to docker run... but I need to run this on kubernetes and would like to have that in a custom image. Also, some customisation can be done via POSTGRES_HOST_AUTH_METHOD, but I cannot use that for SSL.
Therefore the question in subject. Can anybody help?
Cheers,
Andrea
The text was updated successfully, but these errors were encountered:
thanks. I think that covers parms of postgresql.conf via command line, and cert/key file. Good! I'm wondering, how is that solution implementing the customization of pg_hba.conf? It should at least include "hostssl...", and in some cases some more finetuning.
Hi,
any doc describing what in subject?
It should basically boil down to:
postgresql.conf
:ssl=on
... set cert and key file namescert
andkey
files in the imagepg_hba.conf
withhostssl ...
But, where in the image filesystem should I put
postgresql.conf
andpg_hba.conf
? What ever iss in/var/lib/postgresql/data/
is ovewritten. I can set arguments todocker run...
but I need to run this on kubernetes and would like to have that in a custom image. Also, some customisation can be done viaPOSTGRES_HOST_AUTH_METHOD
, but I cannot use that for SSL.Therefore the question in subject. Can anybody help?
Cheers,
Andrea
The text was updated successfully, but these errors were encountered: