-
Notifications
You must be signed in to change notification settings - Fork 234
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
[BUG] can't set reindex.remote.allowlist
#883
Comments
I managed to investigate a bit more and when I query it, I get back a single string instead of the array needed by additionalConfig. Unfortunately it doesn't appear possible to pass an array directly to allowlist. query
response {
"defaults": {
"reindex": {
"remote": {
"allowlist": [
"[\"redacted\"","\"redacted\"]"
]
}
}
}
} |
Hi @karitham , can you contribute to this issue? |
Sure, I can contribute, but I don't know the overall design of the operator well enough. Since the env var is set properly (and must exist as a string), then I guess it's only about editing whatever script pulls those variables from the env into the config. |
I've been exploring and it seems that the best solution would be to either:
I think both options are valid, but I might entirely be missing something. |
@prudhvigodithi @swoehrl-mw Could you help take a look at this? Thanks |
I know others reported problems with the way additionalConfig works in the past. IMO the best option forward is to rework how additionalConfig is provided to the opensearch pods. If we switch this to a configmap that gets mounted into the pods, we can use the full yaml range in there. PRs are always welcome. |
What is the bug?
Setting
reindex.remote.allowlist
inspec.general.additionalConfig
doesn't seem to apply.I have been looking through the docs for this specific key but could not find it either. I am perhaps being mislead by the error message, but can't find any additional information on it.
This is the error that lead me to change the configuration:
How can one reproduce the bug?
Here is part of my config file:
Looking at opensearch.yml (
kubectl exec pods/os-nodes-0 -- cat /usr/share/opensearch/config/opensearch.yml
) and it doesn't show up. Similarly, it doesn't show up in the dashboard.I also don't see it in the configmap (
os-config
in my case).What is the expected behavior?
For the keys to show up in the configuration file or to show up in the dashboard.
As mentioned earlier I may be being mislead by the error, since I can't find anything about this
reindex
in the opensearch docs.The text was updated successfully, but these errors were encountered: