Description
Is your feature request related to a problem? Please describe.
I am trying to configure & install Elasticsearch 7.17.29 to run using k8s secrets mounting as files instead of k8s secret mounting as environment variable. However, there is limited documentation or guidance on how to achieve this setup, especially for Kubernetes or Helm-based deployments. It is unclear if Elasticsearch supports this functionality.
Describe the solution you'd like
I would like clear documentation or configuration options to support running Elasticsearch to run by mounting the k8s secrets as files and refer the file to generate the elasticsearch environment variable.
Describe alternatives you've considered
Attempted to mount k8s secrets as file but the Elasticsearch image does not provide a method to read the mounted file in the pod to generate the elasticsearch environment variable.
Additional context
Add any other context or screenshots about the feature request here.
image version: Elasticsearch: 7.17.29
Any guidance or support on this would be greatly appreciated. Thank you!