Skip to content

Commit

Permalink
Merge pull request #654 from jshufro/jms/v2/fixrprivate
Browse files Browse the repository at this point in the history
Fix issue with root mounted as rprivate
  • Loading branch information
0xfornax authored Sep 20, 2024
2 parents b7c79d4 + 31b5a34 commit 6356d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/deploy/templates/exporter.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- "/sys:/host/sys:ro,rslave"
- "/var/lib/node_exporter/textfile_collector:/host/textfile_collector:ro"
{{- if .Metrics.Exporter.RootFs.Value }}
- "/:/rootfs:ro"
- "/:/rootfs:ro,rslave"
{{- end}}
network_mode: host
networks:
Expand Down

0 comments on commit 6356d19

Please sign in to comment.