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