diff --git a/stable/prometheus-node-exporter/Chart.yaml b/stable/prometheus-node-exporter/Chart.yaml index 569c8b1c8f..00e3ac9399 100644 --- a/stable/prometheus-node-exporter/Chart.yaml +++ b/stable/prometheus-node-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.17.0" description: A Helm chart for prometheus node-exporter name: prometheus-node-exporter -version: 1.2.0 +version: 1.3.0 home: https://github.com/prometheus/node_exporter/ sources: - https://github.com/prometheus/node_exporter/ diff --git a/stable/prometheus-node-exporter/templates/daemonset.yaml b/stable/prometheus-node-exporter/templates/daemonset.yaml index 74261bdc32..dfb15f1d1e 100644 --- a/stable/prometheus-node-exporter/templates/daemonset.yaml +++ b/stable/prometheus-node-exporter/templates/daemonset.yaml @@ -7,18 +7,18 @@ spec: selector: matchLabels: app: {{ template "prometheus-node-exporter.name" . }} - release: {{ .Release.Name }} + release: {{ .Release.Name }} updateStrategy: type: RollingUpdate rollingUpdate: - maxUnavailable: 1 + maxUnavailable: 1 template: metadata: labels: {{ include "prometheus-node-exporter.labels" . | indent 8 }} spec: {{- if and .Values.rbac.create .Values.serviceAccount.create }} serviceAccountName: {{ template "prometheus-node-exporter.serviceAccountName" . }} -{{- end }} +{{- end }} {{- if .Values.securityContext }} securityContext: {{ toYaml .Values.securityContext | indent 8 }} @@ -63,6 +63,9 @@ spec: - name: {{ $mount.name }} mountPath: {{ $mount.mountPath }} readOnly: {{ $mount.readOnly }} + {{- if $mount.mountPropagation }} + mountPropagation: {{ $mount.mountPropagation }} + {{- end }} {{- end }} {{- end }} hostNetwork: true @@ -92,4 +95,4 @@ spec: hostPath: path: {{ $mount.hostPath }} {{- end }} - {{- end }} + {{- end }} \ No newline at end of file diff --git a/stable/prometheus-node-exporter/values.yaml b/stable/prometheus-node-exporter/values.yaml index 5f4298c683..fcd7acbdd4 100644 --- a/stable/prometheus-node-exporter/values.yaml +++ b/stable/prometheus-node-exporter/values.yaml @@ -87,3 +87,4 @@ extraHostVolumeMounts: {} # hostPath: # mountPath: # readOnly: true|false +# mountPropagation: None|HostToContainer|Bidirectional