-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated security config in opensearch.yml #564
Comments
same problem when use chart 2.21.0, if we remove default but if we want to disable "OpenSearch Security Demo Installer" (seen in log), we have not found a method in Setting up a demo configuration. search source and got SecuritySettingsConfigurer.java:
but default values are:
not
check
|
The issue appears to be due to demo configuration script being run by default on Helm charts even if you made changes to the security config. To get past this issue you can disable the demo security configuration by setting DISABLE_INSTALL_DEMO_CONFIG to "true" in the extraEnvs section of your values.yaml file.
|
It looks like the custom configuration is added to opensearch.yml after the OpenSearch service is up. Otherwise, the service would fail to start due to duplicated entries. |
Any update on this bug?. we are unable to use latest version due to this. |
Should be fixed in 2.18 opensearch-project/security#4793 |
Describe the bug
Bug Fix for configMap Read-only file system error in statefulset.yml #516 creates duplicated security config in opensearch.yml
a1c5b8f#diff-08885706cd45ad445d2696cd7e39cf7d4b5e82cb51b0ee6bd86e6ee9f818e158
To Reproduce
Steps to reproduce the behaviour:
Example:
Expected behavior
opensearch.yml must contain only a single security configuration provided through values.yaml.
Chart Name
Specify the Chart which is affected?
All charts from OpenSearch version 2.11.1 to the latest.
The text was updated successfully, but these errors were encountered: