helm-charts
helm-charts copied to clipboard
Unable to install specific plugin version in fluentd
Hello, When installing additional plugins to the release we need to add it to the value "plugins" like mentioned in the values.yaml. However, there's no documented way on how to specifiy a version for that plugin. I tried this syntax and it didn't work
plugins:
- "fluent-plugin-elasticsearch-5.2.5"
This is essential because when you don't specify a version, gem will automatically install the latest one. Which, in my case, caused an unexpected bug when a pod got restarted after the release of a non-compatible version.
So is there another way to force specific plugin version?
You can specify the version using the --version
option:
plugins:
- fluent-plugin-elasticsearch --version 5.2.5
I have not found this in the documentation, so you should probably treat it as a side effect.
The reason it works is because the plugins
variable is only used when generating the fluent-gem install
command in the _pod.tpl file.