Skip to content

Commit

Permalink
[prometheus-rabbitmq-exporter] Add the possibility to specify a prior…
Browse files Browse the repository at this point in the history
…ity class (prometheus-community#416)

Signed-off-by: machine424 <ayoubmrini424@gmail.com>

Co-authored-by: ayoub mrini <amrini@wiremind.fr>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 16, 2021
1 parent 457af25 commit 00c1160
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-rabbitmq-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Rabbitmq metrics exporter for prometheus
name: prometheus-rabbitmq-exporter
version: 0.5.8
version: 0.6.0
appVersion: v0.29.0
home: https://github.com/kbudde/rabbitmq_exporter
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-rabbitmq-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ spec:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10002
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-rabbitmq-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ resources: {}
# cpu: 100m
# memory: 128Mi

priorityClassName: ""

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 00c1160

Please sign in to comment.