[prometheus-cloudwatch-exporter] Allow for specifying automountserviceaccounttoken for prometheus-cloudwatch-exporter (#861)

Signed-off-by: Joshua Stern <joshua.stern@appian.com>
This commit is contained in:
Joshua Stern
2021-05-03 19:25:31 +02:00
committed by GitHub
parent 8302e6aa5e
commit e7014a327f
3 changed files with 4 additions and 1 deletions
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.10.0"
description: A Helm chart for prometheus cloudwatch-exporter
name: prometheus-cloudwatch-exporter
version: 0.15.0
version: 0.16.0
home: https://github.com/prometheus/cloudwatch_exporter
sources:
- https://github.com/prometheus/cloudwatch_exporter
@@ -1,6 +1,7 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ template "prometheus-cloudwatch-exporter.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
@@ -79,6 +79,8 @@ serviceAccount:
# e.g.
# annotations:
# eks.amazonaws.com/role-arn: arn:aws:iam::1234567890:role/prom-cloudwatch-exporter-oidc
# Specifies whether to automount API credentials for the ServiceAccount.
automountServiceAccountToken: true
rbac:
# Specifies whether RBAC resources should be created