mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user