Skip to content

[FEATURE] Allow setting hostAliases in opensearch cluster and opensearch dashboards #1077

@sebmerkt

Description

@sebmerkt

Is your feature request related to a problem?

We are using opensearch with dex as an identity service behind a reverse proxy, which requires us to set a hostAlias in the opensearch pods.

What solution would you like?

The host alias can be defined in the values file and is set in the opensearch cluster and opensearch dashboards pods.

hostAliases:
 - ip: <ip-address>
   hostnames:
   - <hostname>

What alternatives have you considered?

Adding a host alias directly to the /etc/hosts file can not be done in a straight forward way, since that file is mounted in read-only mode within the container. Therefore, using the hostAliases would be the cleanest solution.

Do you have any additional context?

https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions