Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/recipes/beats/metricbeat_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- -e
- -c
- /etc/beat.yml
- -system.hostfs=/hostfs
- --system.hostfs=/hostfs
name: metricbeat
volumeMounts:
- mountPath: /hostfs/sys/fs/cgroup
Expand Down
2 changes: 1 addition & 1 deletion config/recipes/beats/openshift_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
- -e
- -c
- /etc/beat.yml
- -system.hostfs=/hostfs
- --system.hostfs=/hostfs
name: metricbeat
securityContext:
runAsUser: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
- -e
- -c
- /etc/beat.yml
- -system.hostfs=/hostfs
- --system.hostfs=/hostfs
name: metricbeat
volumeMounts:
- mountPath: /hostfs/sys/fs/cgroup
Expand Down
2 changes: 1 addition & 1 deletion deploy/eck-stack/examples/beats/metricbeat_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ eck-beats:
- -e
- -c
- /etc/beat.yml
- -system.hostfs=/hostfs
- --system.hostfs=/hostfs
name: metricbeat
volumeMounts:
- mountPath: /hostfs/sys/fs/cgroup
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/beat/common/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func Test_buildPodTemplate(t *testing.T) {
RunAsUser: ptr.To[int64](0),
},
// The "-e" in these arguments should be removed
Args: []string{"-e", "-c", "/etc/beat.yml", "-system.hostfs=/hostfs"},
Args: []string{"-e", "-c", "/etc/beat.yml", "--system.hostfs=/hostfs"},
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/beat/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ processors:
- -e
- -c
- /etc/beat.yml
- -system.hostfs=/hostfs
- --system.hostfs=/hostfs
name: metricbeat
env:
- name: NODE_NAME
Expand Down