[stable/prometheus-pushgateway] Fix persistence support (#20048)

* Add persistence support

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* fix linting issue

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Update Chart version

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Avoid breaking existing behaviour

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* [stable/prometheus-pushgateway] Bump version (#16040)

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* [stable/prometheus-pushgateway] Fix persistence support

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Change back default persistence path

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>
This commit is contained in:
Patrick Kolze
2020-01-12 23:11:37 -08:00
committed by Kubernetes Prow Robot
parent fd0ceb711e
commit ce0d3a3d7d
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0.1"
description: A Helm chart for prometheus pushgateway
name: prometheus-pushgateway
version: 1.2.12
version: 1.2.13
home: https://github.com/prometheus/pushgateway
sources:
- https://github.com/prometheus/pushgateway
@@ -49,6 +49,12 @@ spec:
timeoutSeconds: 10
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.persistentVolume.enabled }}
volumeMounts:
- name: storage-volume
mountPath: "{{ .Values.persistentVolume.mountPath }}"
subPath: "{{ .Values.persistentVolume.subPath }}"
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}