Skip to content

Commit

Permalink
Add priorityClassName, fix typePrefixes (prometheus-community#3932)
Browse files Browse the repository at this point in the history
Signed-off-by: Rimantas Ragainis <[email protected]>
Co-authored-by: Rico Pahlisch <[email protected]>
Signed-off-by: Sacha <[email protected]>
  • Loading branch information
2 people authored and sachasmart committed Dec 14, 2023
1 parent ec6adff commit a6d4c5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-stackdriver-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Stackdriver exporter for Prometheus
name: prometheus-stackdriver-exporter
version: 4.4.0
version: 4.4.1
appVersion: v0.14.1
home: https://www.stackdriver.com/
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
- name: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
serviceAccount: {{ template "stackdriver-exporter.serviceAccountName" . }}
serviceAccountName: {{ template "stackdriver-exporter.serviceAccountName" . }}
restartPolicy: {{ .Values.restartPolicy }}
Expand Down Expand Up @@ -69,7 +72,7 @@ spec:
- --google.project-id={{ .Values.stackdriver.projectId }}
- --monitoring.metrics-interval={{ .Values.stackdriver.metrics.interval }}
- --monitoring.metrics-offset={{ .Values.stackdriver.metrics.offset }}
- --monitoring.metrics-type-prefixes={{ .Values.stackdriver.metrics.typePrefixes }}
- --monitoring.metrics-type-prefixes={{ .Values.stackdriver.metrics.typePrefixes | replace " " "" }}
{{- range .Values.stackdriver.metrics.filters }}
- --monitoring.filters={{ . }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-stackdriver-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ tolerations: []
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"

## Pod priority class
##
priorityClassName: ""

## Service Account
##
Expand Down

0 comments on commit a6d4c5f

Please sign in to comment.