feat: 🎉 Add SSL certificate configuration for deployment

Adds configuration for SSL certificate in the deployment settings by introducing environment variables and volume mounts for the Elasticsearch certificate.

This enhancement improves security by ensuring that the application can properly utilize SSL certificates for secure communication.
This commit is contained in:
Daniel Sy 2025-06-03 16:54:06 +02:00
parent 4761fef87c
commit b775019744
Signed by: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -17,6 +17,22 @@ persistence:
test: test:
enabled: false enabled: false
deployment:
env:
- name: SSL_CERT_FILE
value: /etc/elasticsearch/elasticsearch.cer
extraVolumeMounts:
- mountPath: /etc/elasticsearch
name: elasticsearch-cert-volume
readOnly: true
extraVolumes:
- name: elasticsearch-cert-volume
configMap:
defaultMode: 420
name: elasticsearch-cert
gitea: gitea:
additionalConfigFromEnvs: additionalConfigFromEnvs:
- name: FORGEJO__storage__MINIO_ACCESS_KEY_ID - name: FORGEJO__storage__MINIO_ACCESS_KEY_ID