Skip to content

Commit 005c291

Browse files
authored
[prometheus-postgres-exporter] Add optional unhealthyPodEvictionPolicy (#6432)
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
1 parent 652a7bc commit 005c291

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/prometheus-postgres-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: v2
33
appVersion: v0.18.1
44
description: A Helm chart for prometheus postgres-exporter
55
name: prometheus-postgres-exporter
6-
version: 7.3.0
6+
version: 7.4.0
77
home: https://github.com/prometheus-community/postgres_exporter
88
sources:
99
- https://github.com/prometheus-community/postgres_exporter

charts/prometheus-postgres-exporter/templates/pdb.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ metadata:
88
{{- include "prometheus-postgres-exporter.labels" . | nindent 4 }}
99
spec:
1010
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
11+
{{- if hasKey .Values.podDisruptionBudget "unhealthyPodEvictionPolicy" }}
12+
unhealthyPodEvictionPolicy: {{ .Values.podDisruptionBudget.unhealthyPodEvictionPolicy }}
13+
{{- end }}
1114
selector:
1215
matchLabels:
1316
{{- include "prometheus-postgres-exporter.selectorLabels" . | nindent 6 }}

0 commit comments

Comments
 (0)