Skip to content

Commit

Permalink
[stable/prometheus] Add options to change volume mount propagation (s…
Browse files Browse the repository at this point in the history
…ame as helm#11194 for prometheus-node-exporter) (helm#13922)

Signed-off-by: Alexey Medvedchikov <[email protected]>
  • Loading branch information
alexey-medvedchikov authored and Thomas Tischner committed Aug 13, 2019
1 parent 63e32c9 commit 733e981
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus
version: 8.15.0
version: 8.15.1
appVersion: 2.11.1
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
Expand Down
3 changes: 3 additions & 0 deletions stable/prometheus/templates/node-exporter-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
- name: {{ .name }}
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- if .mountPropagation }}
mountPropagation: {{ .mountPropagation }}
{{- end }}
{{- end }}
{{- range .Values.nodeExporter.extraConfigmapMounts }}
- name: {{ .name }}
Expand Down
1 change: 1 addition & 0 deletions stable/prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ nodeExporter:
# mountPath: /srv/txt_collector
# hostPath: /var/lib/node-exporter
# readOnly: true
# mountPropagation: HostToContainer

extraConfigmapMounts: []
# - name: certs-configmap
Expand Down

0 comments on commit 733e981

Please sign in to comment.