feat(database): use common directory for certificates
This commit is contained in:
parent
bfad711a9a
commit
aa30d027bf
1 changed files with 5 additions and 5 deletions
|
@ -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 }}}'
|
||||
|
|
Loading…
Reference in a new issue