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:
|
deployment:
|
||||||
env:
|
env:
|
||||||
- name: SSL_CERT_FILE
|
- name: SSL_CERT_DIR
|
||||||
value: /etc/elasticsearch/elasticsearch.cer
|
value: /etc/
|
||||||
|
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- mountPath: /etc/elasticsearch
|
- mountPath: /etc/ssl/forgejo/elasticsearch.crt
|
||||||
name: elasticsearch-cert-volume
|
name: elasticsearch-cert-volume
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /etc/postgres
|
- mountPath: /etc/ssl/forgejo/postgres.crt
|
||||||
name: postgres-cert-volume
|
name: postgres-cert-volume
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ gitea:
|
||||||
|
|
||||||
database:
|
database:
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
SSL_MODE: verify-full
|
#SSL_MODE: verify-full
|
||||||
|
|
||||||
server:
|
server:
|
||||||
DOMAIN: '{{{ .Env.DOMAIN_GITEA }}}'
|
DOMAIN: '{{{ .Env.DOMAIN_GITEA }}}'
|
||||||
|
|
Loading…
Reference in a new issue