Skip to content

Commit 92c39c7

Browse files
authored
[prometheus-postgres-exporter] - introduced priorityClassName (#4069)
* introduced priorityClassName Signed-off-by: Joachim Winkler <[email protected]> * add suggestions Signed-off-by: Joachim Winkler <[email protected]> * remove space Signed-off-by: Joachim Winkler <[email protected]> --------- Signed-off-by: Joachim Winkler <[email protected]>
1 parent 1f94123 commit 92c39c7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

charts/prometheus-postgres-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "v0.15.0"
33
description: A Helm chart for prometheus postgres-exporter
44
name: prometheus-postgres-exporter
5-
version: 5.2.0
5+
version: 5.3.0
66
home: https://github.com/prometheus-community/postgres_exporter
77
sources:
88
- https://github.com/prometheus-community/postgres_exporter

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ spec:
180180
affinity:
181181
{{ toYaml . | indent 8 }}
182182
{{- end }}
183+
{{- if .Values.priorityClassName }}
184+
priorityClassName: {{ .Values.priorityClassName }}
185+
{{- end }}
183186
{{- with .Values.tolerations }}
184187
tolerations:
185188
{{ toYaml . | indent 8 }}

charts/prometheus-postgres-exporter/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ prometheusRule:
6161
# description: replication for {{ template "prometheus-postgres-exporter.fullname" . }} PostgreSQL is lagging by {{ "{{ $value }}" }} hour(s).
6262
# summary: PostgreSQL replication is lagging by {{ "{{ $value }}" }} hour(s).
6363

64+
priorityClassName: ""
65+
6466
resources: {}
6567
# We usually recommend not to specify default resources and to leave this as a conscious
6668
# choice for the user. This also increases chances charts run on environments with little

0 commit comments

Comments
 (0)