Skip to content

[BUG] Unable to set environment variable and image for OpenSearch Dashboards #1124

@Rayhanga

Description

@Rayhanga

What is the bug?

Unable to set opensearch-dashboards environment variable from spec.dashboards.env and image repo from spec.dashboards.image.

How can one reproduce the bug?

Set image for opensearch-dashboards via spec.dashboards.image and environment variable via spec.dashboards.env.

What is the expected behavior?

Environment Variable and Image should be set correctly.

What is your host/environment?

Operator Chart version: v2.8.0
OpenSearch Image version: v2.3.0
OpenSearch Dashboards Image version: v2.3.0

Do you have any screenshots?

None.

Do you have any additional context?

Tried to disable opensearch-dashboards security by using DISABLE_SECURITY_DASHBOARDS_PLUGIN=true but found out the opensearch-dashboards pod doesn't have said env variable, even though I've set it on spec.dashboards.env.

Also tried making custom image to disable security based on this doc and use the image by using the mentioned key here

is this expected? or maybe I'm missing something here? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguntriagedIssues that have not yet been triaged

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions