Skip to content

Commit

Permalink
[prometheus-pushgateway] PriorityClassName for prom-pushgateway (prom…
Browse files Browse the repository at this point in the history
…etheus-community#948)

* PriorityClassName for prom-pushgateway

Signed-off-by: Matteo Maponi <matteo.maponi@gmail.com>

* bump minor version

Signed-off-by: Matteo Maponi <matteo.maponi@gmail.com>
  • Loading branch information
blame19 authored Jun 17, 2021
1 parent eb9db1a commit 8d84231
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-pushgateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.3.0"
description: A Helm chart for prometheus pushgateway
name: prometheus-pushgateway
version: 1.9.0
version: 1.10.0
home: https://github.com/prometheus/pushgateway
sources:
- https://github.com/prometheus/pushgateway
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-pushgateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ spec:
{{ toYaml .Values.podAnnotations | indent 8 }}
spec:
serviceAccountName: {{ template "prometheus-pushgateway.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-pushgateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ serviceMonitor:
# If not set then a PodDisruptionBudget will not be created
podDisruptionBudget: {}

priorityClassName:

# Deployment Strategy type
strategy:
type: Recreate
Expand Down

0 comments on commit 8d84231

Please sign in to comment.