diff --git a/charts/prometheus-node-exporter/templates/daemonset.yaml b/charts/prometheus-node-exporter/templates/daemonset.yaml index ac137d2b86f9..77b578d562d4 100644 --- a/charts/prometheus-node-exporter/templates/daemonset.yaml +++ b/charts/prometheus-node-exporter/templates/daemonset.yaml @@ -273,7 +273,7 @@ spec: - name: {{ $mount.name }} hostPath: path: {{ $mount.hostPath }} - {{- with $mount.hostPath.type }} + {{- with $mount.type }} type: {{ . }} {{- end }} {{- end }} diff --git a/charts/prometheus-node-exporter/values.yaml b/charts/prometheus-node-exporter/values.yaml index 880952878f6a..6b81b6c8aaf4 100644 --- a/charts/prometheus-node-exporter/values.yaml +++ b/charts/prometheus-node-exporter/values.yaml @@ -317,12 +317,12 @@ hostRootFsMount: # https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation mountPropagation: HostToContainer -# Mount the node's proc file system (/) at /host/proc in the container +# Mount the node's proc file system (/proc) at /host/proc in the container hostProcFsMount: # Possible values are None, HostToContainer, and Bidirectional mountPropagation: "" -# Mount the node's sys file system (/) at /host/sys in the container +# Mount the node's sys file system (/sys) at /host/sys in the container hostSysFsMount: # Possible values are None, HostToContainer, and Bidirectional mountPropagation: "" @@ -402,13 +402,12 @@ extraArgs: [] extraHostVolumeMounts: [] # - name: # hostPath: -# https://kubernetes.io/docs/concepts/storage/volumes/#hostpath-volume-types -# type: "" (Default)|DirectoryOrCreate|Directory|FileOrCreate|File|Socket|CharDevice|BlockDevice +# https://kubernetes.io/docs/concepts/storage/volumes/#hostpath-volume-types +# type: "" (Default)|DirectoryOrCreate|Directory|FileOrCreate|File|Socket|CharDevice|BlockDevice # mountPath: # readOnly: true|false # mountPropagation: None|HostToContainer|Bidirectional - ## Additional configmaps to be mounted. ## configmaps: []