mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
fd0ceb711e
commit
ce0d3a3d7d
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user