Skip to content
Snippets Groups Projects
Commit 2a9a3187 authored by Sergiusz Urbaniak's avatar Sergiusz Urbaniak
Browse files

kube-prometheus: fix root typo in node-exporter


Currently, we are mounting `/root` from the host as `/host/root`.
Instead simply `/` from the host should be mounted.

This fixes it

Signed-off-by: default avatarSergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
parent e7437ade
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet'; ...@@ -74,7 +74,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
local sysVolumeMount = containerVolumeMount.new(sysVolumeName, '/host/sys'); local sysVolumeMount = containerVolumeMount.new(sysVolumeName, '/host/sys');
local rootVolumeName = 'root'; local rootVolumeName = 'root';
local rootVolume = volume.fromHostPath(rootVolumeName, '/root'); local rootVolume = volume.fromHostPath(rootVolumeName, '/');
local rootVolumeMount = containerVolumeMount.new(rootVolumeName, '/host/root'). local rootVolumeMount = containerVolumeMount.new(rootVolumeName, '/host/root').
withMountPropagation('HostToContainer'). withMountPropagation('HostToContainer').
withReadOnly(true); withReadOnly(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment