How to Disable Authentication to Opensearch and Opensearch Dashboards when deploying through HELM

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Latest

Describe the issue:

Hi I am trying to disable the authentication to opensearch and opensearch dashboards (admin admin), I have checked the blogs and found the below command should help, But after deploying and trying to access the opensearch on port 9200 (by portforwarding) https://localhost:9200/ it still asks for username and password , I am doing something wrong? Can some point me or give the exact commands to run.

Configuration:

helm -n test upgrade --install opensearch opensearch/opensearch --set opensearch.security.enabled=false --set opensearch.security.authcz.admin_dn=“” --debug

Relevant Logs or Screenshots:

@rnutakki As far as I can see running the helm upgrade with OpenSearch charts won’t restart any of the running OpenSearch nodes.

To disable security in OpenSearch you must use plugins.security.disabled instead of opensearch.security.enabled.
The plugins.security.disabled option requires a restart of the OpenSearch node.