feat(database): use common directory for certificates

This commit is contained in:
Christopher Hase 2025-06-17 11:03:56 +02:00
parent bfad711a9a
commit aa30d027bf

View file

@ -21,14 +21,14 @@ test:
deployment:
env:
- name: SSL_CERT_FILE
value: /etc/elasticsearch/elasticsearch.cer
- name: SSL_CERT_DIR
value: /etc/
extraVolumeMounts:
- mountPath: /etc/elasticsearch
- mountPath: /etc/ssl/forgejo/elasticsearch.crt
name: elasticsearch-cert-volume
readOnly: true
- mountPath: /etc/postgres
- mountPath: /etc/ssl/forgejo/postgres.crt
name: postgres-cert-volume
readOnly: true
@ -136,7 +136,7 @@ gitea:
database:
DB_TYPE: postgres
SSL_MODE: verify-full
#SSL_MODE: verify-full
server:
DOMAIN: '{{{ .Env.DOMAIN_GITEA }}}'