Filebeat: wrong type for value, extraVolumes/extraVolumeMounts
See original GitHub issueChart version: 7.2.1-0
Kubernetes version: N/A
Kubernetes provider: E.g. GKE (Google Kubernetes Engine) Rancher
Helm Version: 2.9.1 and 3.0.0-alpha.2
Describe the bug:
When helm template
ing the filebeat chart I’m getting a type error for values passed in under extraVolumes and extraVolumeMounts
Steps to reproduce:
- apply the volume config below!
Expected behavior: Pass in extra volumes and mount them without error
Provide logs and/or server output (if relevant):
filebeat/templates/daemonset.yaml:67:14: executing "filebeat/templates/daemonset.yaml" at <.Values.extraVolumes>: wrong type for value; expected string; got []interface {}
Any additional context:
extraVolumeMounts:
- name: varlog
mounthPath: /var/log
readOnly: true
- name: rkelog
mountPath: /var/lib/rancher/rke/log
reandOnly: true
# - name: extras
# mountPath: /usr/share/extras
# readOnly: true
extraVolumes:
- name: varlog
hostPath:
path: /var/log
- name: rkelog
hostPath:
path: /var/lib/rancher/rke/log
# - name: extras
# emptyDir: {}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Filebeat reading entire mounted azure file from start - Beats
Hi. I have an Azure file that I want to monitor using FileBeat. I am using the helm chart for this purpose, with...
Read more >stable/filebeat/values.yaml - helm-charts
When a key contains a period, use this format for setting values on the command line: 46. # --set config."http\.enabled"=true.
Read more >helm-charts - stable - filebeat - templates - daemonset.yaml
name: {{ template "filebeat.fullname" . }} ... type: RollingUpdate. 18. rollingUpdate: ... Values.annotations | indent 8 }}.
Read more >K8s Elasticsearch with filebeat is keeping 'not ready' after ...
At the first time, It works fine with below installation. ## elasticsearch, filebeat # kubectl apply -f pv.yaml # helm install -f values.yaml...
Read more >Kubernetes Observability - Part VII: Logging with Loki
Next, fill the extraVolumes and extraVolumeMounts variables in your loki-stack chart's custom-values.yaml file, so that the just-applied ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zeysh i talked to a team mate of mine and he pointed out if you put a
|
in front the valuemount key it should work…Hi,
Same problem for me. I have tried it for containerd logs.