feat(database): use certificate folder for elasticsearch
This commit is contained in:
parent
d14138996e
commit
5500b58a9a
1 changed files with 6 additions and 3 deletions
|
@ -21,11 +21,11 @@ test:
|
|||
|
||||
deployment:
|
||||
env:
|
||||
- name: SSL_CERT_FILE
|
||||
value: /etc/elasticsearch/elasticsearch.cer
|
||||
- name: SSL_CERT_DIR
|
||||
value: /etc/ssl/forgejo
|
||||
|
||||
extraVolumeMounts:
|
||||
- mountPath: /etc/elasticsearch
|
||||
- mountPath: /etc/ssl/forgejo
|
||||
name: elasticsearch-cert-volume
|
||||
readOnly: true
|
||||
- mountPath: /etc/ssl/forgejo
|
||||
|
@ -37,6 +37,9 @@ extraVolumes:
|
|||
configMap:
|
||||
defaultMode: 420
|
||||
name: elasticsearch-cert
|
||||
items:
|
||||
- key: elasticsearch.pem
|
||||
path: elasticsearch.pem
|
||||
- name: postgres-cert-volume
|
||||
secret:
|
||||
secretName: otc-rds-tls-ca-cert
|
||||
|
|
Loading…
Reference in a new issue