Skip to content

Enhancement Request: Elasticsearch helm charts and docker image need to support reading elasticsearch environment variable from file which is mounted by a k8s secret #138811

@mubaraque-ali

Description

@mubaraque-ali

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>enhancementTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions