Change elasticsearch certification file path (for tls)

I use elasticsearch in kubernetes.
Use the certificate generated by kubernetes in pem format.

The problem is that this certificate path is out of elasticsearch/config.
For example, I have a ca.crt file in /var/tls/ca.crt, and I have no idea how to move it into POD's elasticsearch/config path.

The init container method also failed because the elasticsearch path was already volume mounted.

I think there are many cases like me, is there a way to do it?

i use it. (elastic helm chart)


It sounds like you have done most of the steps and are nearly there! Could you try following the security example? It also shows you how to mount the certificates under the config/ directory.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.