feat(database): use certificate folder for elasticsearch

This commit is contained in:
Christopher Hase 2025-06-17 14:05:41 +02:00
parent d14138996e
commit 5500b58a9a

View file

@ -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