-
Notifications
You must be signed in to change notification settings - Fork 215
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
AdditionalConfig on nodePools or General is not being applied? #204
Comments
An update to this issue: When adding the My configuration:
|
Hi @emil-jacero.
That is the currently implemented behaviour. Each additonalConfig is added as an envar.
Could you check the operator logs for DEBUG messages with |
The |
Tested the fix from @dbason and it works great. The operator no longer gets stuck in an endless loop. Thanks :) |
Hey @swoehrl-mw and @dbason I still see this being added as env and not to the ConfigMap (opensearch.yml)
Creates statefulset with env as
Error
|
Hi @prudhvigodithi I have no problem with changing the logic for additionalConfig to use a configmap instead of envvars. We just need to make sure to do a rolling restart of the nodes if the config changes. |
Hi @prudhvigodithi, i think it will the best to implement also an configMap option, so the user can decide if he wants to use configMap or envvars. what are you thinking ? |
Thanks @swoehrl-mw and @idanl21 but at this point if I have to pass |
@prudhvigodithi The operator just relies on opensearch picking up the config options from envvars (I think this is done at startup) and doesn't really modify |
make sense, thanks @swoehrl-mw let me a new issue to track this. |
Also just FYI, i see this works for dashboard, may be we have to use the same logic used there for OpenSearch as well. |
coming late into the discussion, but if I'm not mistaken the mechanism of env-vars was introduced by @dbason , Dan are we missing anything by the move to configmap? is there a reason for env vars that we should be aware of? |
Version image: v1.1 (built locally)
Version helm: v1.1 (built locally)
Hi,
I am trying to apply these settings to the cluster (opensearch.yml). I have tried adding them to the
general
config and thenodePools
, as shown in the CRD documentation.This however does not apply the config to the ConfigMap but as env instead.
Is that the correct behavior?
Best regards,
Emil
The text was updated successfully, but these errors were encountered: