Files
deprecated-helm-charts/stable/stackdriver-exporter/values.yaml
T
Charlie Egan 780761f5f3 stable/stackdriver-exporter: Allow setting of pod ServiceAccount name (#15931)
* Allow setting of pod service account name

This makes it possible to use a serviceAccount other than the default.

I need this to aid my use the chart in conjunction with GKE's [Workload
Identity
feature](https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity)
which requires the use of an annotated service account for pods using
Google APIs.

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>

* Enable creation of SA

Based on this:
https://helm.sh/docs/chart_best_practices/#role-based-access-control

Made in response to:
https://github.com/helm/charts/pull/15931#issuecomment-515846998

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>

* Add notes about new variables to readme

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
2019-07-29 12:42:48 -07:00

86 lines
2.2 KiB
YAML

# Number of exporters to run
replicaCount: 1
# Restart policy for container
restartPolicy: Always
image:
repository: frodenas/stackdriver-exporter
tag: v0.6.0
pullPolicy: IfNotPresent
resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
# limits:
# cpu: 100m
# memory: 128Mi
service:
type: ClusterIP
httpPort: 9255
annotations: {}
stackdriver:
# The Google Project ID to gather metrics for
projectId: "FALSE"
# An existing secret which contains credentials.json
serviceAccountSecret: ""
# A service account key JSON file. Must be provided when no existing secret is used, in this case a new secret will be created holding this service account
serviceAccountKey: ""
# Max number of retries that should be attempted on 503 errors from Stackdriver
maxRetries: 0
# How long should Stackdriver_exporter wait for a result from the Stackdriver API
httpTimeout: 10s
# Max time between each request in an exp backoff scenario
maxBackoff: 5s
# The amount of jitter to introduce in an exp backoff scenario
backoffJitter: 1s
# The HTTP statuses that should trigger a retry
retryStatuses: 503
metrics:
# The prefixes to gather metrics for, we default to just CPU metrics.
typePrefixes: 'compute.googleapis.com/instance/cpu'
# The frequency to request
interval: '5m'
# How far into the past to offset
offset: '0s'
web:
# Port to listen on
listenAddress: ':9255'
# Path under which to expose metrics.
path: /metrics
## Pod affinity
##
affinity: {}
annotations: {}
## Node labels for stackdriver-exporter pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Node tolerations for stackdriver-exporter scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
## Service Account
##
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: false
# The name of the ServiceAccount to use.
# If not set and create is false, 'default' is used
# If not set and create is true, a name is generated using the fullname template
name: