opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
173 stars 234 forks source link

opensearchHosts partially overrides DISABLE_SECURITY_DASHBOARDS_PLUGIN behaviour #440

Open Cobraeti opened 1 year ago

Cobraeti commented 1 year ago

Hello, After a long time digging in documentation/issues here and directly on https://github.com/opensearch-project/opensearch-build project, I realized there must be a conflict between this chart value: https://github.com/opensearch-project/helm-charts/blob/086c52202c5755d504c6c3462720a57a86cc8998/charts/opensearch-dashboards/values.yaml#L8 and the function triggered by the DISABLE_SECURITY_DASHBOARDS_PLUGIN environment variable defined in the Docker image.

I don't know if it's desirable to update the templates to take those parameters into account or if only the documentation should be updated with a warning when using such variables...

Here is what I see as templates updates, but there must be a simpler way (I'm just a newbie with Helm 😅) :

Chart versions tested:

Corresponding Docker images:

But is seems even more recent versions might be affected...

Thanks in advance for your feedbacks 😉

gaiksaya commented 1 year ago

@prudhvigodithi Can you take a look at this request? Thanks!