Skip to content

Commit

Permalink
introduce priorityClass (#4778)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Sellier <[email protected]>
  • Loading branch information
alexissellier authored Aug 9, 2024
1 parent bada876 commit 0f304d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-redis-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.62.0
description: Prometheus exporter for Redis metrics
name: prometheus-redis-exporter
version: 6.4.1
version: 6.5.0
home: https://github.com/oliver006/redis_exporter
sources:
- https://github.com/oliver006/redis_exporter
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-redis-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ template "prometheus-redis-exporter.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-redis-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ tolerations: []

affinity: {}

priorityClassName: ""

## Extra manifests to deploy as an array
extraManifests: []
# - apiVersion: v1
Expand Down

0 comments on commit 0f304d9

Please sign in to comment.