diff --git a/stable/prometheus-pushgateway/Chart.yaml b/stable/prometheus-pushgateway/Chart.yaml index 4828d176fb..44a08c7014 100644 --- a/stable/prometheus-pushgateway/Chart.yaml +++ b/stable/prometheus-pushgateway/Chart.yaml @@ -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 diff --git a/stable/prometheus-pushgateway/templates/deployment.yaml b/stable/prometheus-pushgateway/templates/deployment.yaml index 3a8b9e7351..acb9de69ed 100644 --- a/stable/prometheus-pushgateway/templates/deployment.yaml +++ b/stable/prometheus-pushgateway/templates/deployment.yaml @@ -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 }}