Skip to content

Commit 90335e1

Browse files
committed
add priorityClassName
Add "priorityClassName" to value.yaml and the correspoding location in templates/deployment.yaml. Tested locally using a "wrapper chart". (I.e. a local chart that has this chart as a dependency.) The manifest is generated and deployed as expected. Signed-off-by: Craig Sebenik <craig5@users.noreply.github.com>
1 parent d25e161 commit 90335e1

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

charts/prometheus-statsd-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: prometheus-statsd-exporter
33
description: A Helm chart for prometheus stats-exporter
4-
version: 1.0.0
4+
version: 1.0.1
55
appVersion: v0.28.0
66
home: https://github.com/prometheus/statsd_exporter
77
sources:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,6 @@ spec:
119119
topologySpreadConstraints:
120120
{{- toYaml . | nindent 8 }}
121121
{{- end }}
122+
{{- if .Values.priorityClassName }}
123+
priorityClassName: {{ .Values.priorityClassName }}
124+
{{- end }}

charts/prometheus-statsd-exporter/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,5 @@ tolerations: []
174174
affinity: {}
175175

176176
topologySpreadConstraints: []
177+
178+
priorityClassName: ""

0 commit comments

Comments
 (0)