Modify argument of the *beat* container
See original GitHub issueDescribe the feature:
Base on Filebeat chart, arguments of the filebeat container are hardcoded into the chart. It could be useful to be able to custom those arguments to modify the filebeat behaviour.
Example:
values.yml
daemonset:
args:
- "-e"
- "-E"
- "http.enabled=true"
- "-c /other/path/filebeat.yml"
Describe a specific use case for the feature:
This would be useful when you use a sidecar or an initcontainer to forge the configuration file (with consul-template
for example). The configuration file need to be mounted through a shared volume, and can’t be mounted to /usr/share/filebeat/filebeat.yml
(because the mount already exist for the original filebeat.yml).
Providing custom arguments to the filebeat provide us the way to feed him with a different configuration file.
Draft on my repo: https://github.com/oyoyo14/helm-charts/tree/filebeat-access-to-cmd-args
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top GitHub Comments
Thanks for the proposal, I think we’ll need to investigate a bit before creating a PR for that.
This issue has been automatically closed because it has not had recent activity since being marked as stale.