harbor-helm icon indicating copy to clipboard operation
harbor-helm copied to clipboard

add secret which has certificate and key to connect with the database

Open shyamvyas5 opened this issue 3 years ago • 0 comments

  • added secret which will have db cert and key to connect when using sslmode other than disable.
  • updated deployments of core, jobservice, notarysigner & notarysecret with volumemounts and volumes for the db cert key secret.
  • added poststart lifecycle hook in deployments of core, jobservice, notarysigner & notarysecret which will change the permissions of the cert and key and will move into the emptydir volume and from that the env PGSSLROOTCERT, PGSSLCERT & PGSSLKEY will pick up the cert and key from the emptydir volume.

shyamvyas5 avatar Oct 04 '21 05:10 shyamvyas5