From 7469e704c0476684da5aa663305be7daf1f3f213 Mon Sep 17 00:00:00 2001 From: joawin Date: Tue, 15 Oct 2024 18:37:49 +0200 Subject: [PATCH] introduce priorityClassName (#21) --- charts/prometheus-artifactory-exporter/Chart.yaml | 2 +- .../prometheus-artifactory-exporter/templates/deployment.yaml | 3 +++ charts/prometheus-artifactory-exporter/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/prometheus-artifactory-exporter/Chart.yaml b/charts/prometheus-artifactory-exporter/Chart.yaml index 7532324..cc2ab24 100644 --- a/charts/prometheus-artifactory-exporter/Chart.yaml +++ b/charts/prometheus-artifactory-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.14.0" description: A Helm chart for the Prometheus Artifactory Exporter name: prometheus-artifactory-exporter -version: 0.6.2 +version: 0.6.3 keywords: - metrics - artifactory diff --git a/charts/prometheus-artifactory-exporter/templates/deployment.yaml b/charts/prometheus-artifactory-exporter/templates/deployment.yaml index a7075e1..4081c9c 100644 --- a/charts/prometheus-artifactory-exporter/templates/deployment.yaml +++ b/charts/prometheus-artifactory-exporter/templates/deployment.yaml @@ -83,6 +83,9 @@ spec: {{- with .Values.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} {{- with .Values.tolerations }} tolerations: {{ toYaml . | nindent 8 }} {{- end }} diff --git a/charts/prometheus-artifactory-exporter/values.yaml b/charts/prometheus-artifactory-exporter/values.yaml index f57682e..80468d8 100644 --- a/charts/prometheus-artifactory-exporter/values.yaml +++ b/charts/prometheus-artifactory-exporter/values.yaml @@ -99,6 +99,8 @@ serviceMonitor: # targetLabels: [] # metricRelabelings: [] +priorityClassName: "" + nodeSelector: {} tolerations: []