Skip to content

Commit

Permalink
Add priorityClassName, fix typePrefixes
Browse files Browse the repository at this point in the history
Signed-off-by: Rimantas Ragainis <[email protected]>
  • Loading branch information
ritmas committed Nov 7, 2023
1 parent 6fb47fb commit 8b90b48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/prometheus-stackdriver-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: Stackdriver exporter for Prometheus
name: prometheus-stackdriver-exporter
version: 4.3.1
appVersion: 0.13.0
version: 4.4.1
appVersion: v0.14.1
home: https://www.stackdriver.com/
sources:
- https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-stackdriver-exporter
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 @@ -116,6 +116,9 @@ tolerations: []
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"

## Pod priority class
##
priorityClassName: ""

## Service Account
##
Expand Down

0 comments on commit 8b90b48

Please sign in to comment.