mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[prometheus-stackdriver-exporter] Add possiblity to pass extra args to the exporter (#1051)
* Add possiblity to pass extra args to the exporter Signed-off-by: Anas <anas-aso@users.noreply.github.com> * Bump minor version. Signed-off-by: Anas <anas-aso@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Stackdriver exporter for Prometheus
|
||||
name: prometheus-stackdriver-exporter
|
||||
version: 1.8.3
|
||||
version: 1.9.0
|
||||
appVersion: 0.11.0
|
||||
home: https://www.stackdriver.com/
|
||||
sources:
|
||||
|
||||
@@ -59,6 +59,14 @@ spec:
|
||||
- name: stackdriver-service-account
|
||||
mountPath: /etc/secrets/service-account/
|
||||
{{- end}}
|
||||
{{- if .Values.extraArgs }}
|
||||
args:
|
||||
{{- range $key, $value := .Values.extraArgs }}
|
||||
{{- if $value }}
|
||||
- --{{ $key }}={{ $value }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if or .Values.stackdriver.serviceAccountSecret .Values.stackdriver.serviceAccountKey }}
|
||||
- name: GOOGLE_APPLICATION_CREDENTIALS
|
||||
|
||||
@@ -69,6 +69,10 @@ affinity: {}
|
||||
|
||||
annotations: {}
|
||||
|
||||
## Pod extra arguments
|
||||
##
|
||||
extraArgs: {}
|
||||
|
||||
## Node labels for stackdriver-exporter pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user