-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Support YAML anchors in elasticsearch.yml #51652
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Settings) |
@albertzaharovits In theory, we should already support anchors, although there may be problems with our implementation since we view the yaml through jackson's json parsing interface, and I also see there seem to be ongoing issues with anchors in jackson (FasterXML/jackson-dataformats-text#98). However, what error do you get when using the above? It looks to me like the indentation is off (path/type/etc should be indented one more level?). |
@rjernst Aaargh, You're right, the indentation was off. I've corrected it:
This is the error I get:
|
I wonder whether we should support YAML anchors.
Here is an example which I believe is not supported:
The example defines the
&keystore
"anchor" which is then referred to by the*keystore
alias.The text was updated successfully, but these errors were encountered: