diff --git a/charts/prometheus-pushgateway/Chart.yaml b/charts/prometheus-pushgateway/Chart.yaml index 1981aeeb..1866e55e 100644 --- a/charts/prometheus-pushgateway/Chart.yaml +++ b/charts/prometheus-pushgateway/Chart.yaml @@ -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 diff --git a/charts/prometheus-pushgateway/templates/deployment.yaml b/charts/prometheus-pushgateway/templates/deployment.yaml index 9e3fc81d..7419c8f4 100644 --- a/charts/prometheus-pushgateway/templates/deployment.yaml +++ b/charts/prometheus-pushgateway/templates/deployment.yaml @@ -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 }} diff --git a/charts/prometheus-pushgateway/values.yaml b/charts/prometheus-pushgateway/values.yaml index ae22dba7..c3f78ea1 100644 --- a/charts/prometheus-pushgateway/values.yaml +++ b/charts/prometheus-pushgateway/values.yaml @@ -168,6 +168,8 @@ serviceMonitor: # If not set then a PodDisruptionBudget will not be created podDisruptionBudget: {} +priorityClassName: + # Deployment Strategy type strategy: type: Recreate