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:
|
deployment:
|
||||||
env:
|
env:
|
||||||
- name: SSL_CERT_FILE
|
- name: SSL_CERT_DIR
|
||||||
value: /etc/elasticsearch/elasticsearch.cer
|
value: /etc/ssl/forgejo
|
||||||
|
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- mountPath: /etc/elasticsearch
|
- mountPath: /etc/ssl/forgejo
|
||||||
name: elasticsearch-cert-volume
|
name: elasticsearch-cert-volume
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /etc/ssl/forgejo
|
- mountPath: /etc/ssl/forgejo
|
||||||
|
@ -37,6 +37,9 @@ extraVolumes:
|
||||||
configMap:
|
configMap:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
name: elasticsearch-cert
|
name: elasticsearch-cert
|
||||||
|
items:
|
||||||
|
- key: elasticsearch.pem
|
||||||
|
path: elasticsearch.pem
|
||||||
- name: postgres-cert-volume
|
- name: postgres-cert-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: otc-rds-tls-ca-cert
|
secretName: otc-rds-tls-ca-cert
|
||||||
|
|
Loading…
Reference in a new issue