Long story short, how to add custom cert and key as serverFiles to graylog pod/container?
Trying to enable tls for https, using helm charts (stable/graylog/README.md · 6fe62a0c61901f4ec294615b20c3c02c88723201 · Lennart Nordgreen / helm-charts · GitLab)
I need the cert and key for enabling the tls, I have them stored to kubenetes secrets. On above it is documented that I could add these files for graylog using ‘graylog.serverFiles’.
" The certificates will be mounted into the
and I could configure graylog to use them as: ‘tls_cert_file: /etc/graylog/server/server.cert’
But I’m having trouble to add them. I have the helm chart on .ps1 script, so first I get them as strings from secrets and the try to add them to the pod/container like:
–set graylog.serverFiles:server.cert=$FLUX_INGRESS_TLS_CRT `
But when I look to the container the graylog folder is missing.
So, How to add the files with helm to graylog pod/container?
Edit: I got little further with:
–set graylog.serverFiles=server.cert:$FLUX_INGRESS_TLS_CRT `
But the files are not okay when looking on the container (/etc/graylog/server/), there are names like: ‘0 → …data/0’ and dates…