Skip to content

Commit

Permalink
Allows to set automountServiceAccountToken on ServiceAccount (prometh…
Browse files Browse the repository at this point in the history
…eus-community#808)

Signed-off-by: Ankit Mehta <[email protected]>
  • Loading branch information
mehta-ankit authored Apr 2, 2021
1 parent 585c8fc commit 1249e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-elasticsearch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: prometheus-elasticsearch-exporter
version: 4.3.0
version: 4.4.0
kubeVersion: ">=1.10.0-0"
appVersion: 1.1.0
home: https://github.com/justwatchcom/elasticsearch_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ metadata:
app: {{ template "elasticsearch-exporter.name" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
1 change: 1 addition & 0 deletions charts/prometheus-elasticsearch-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ prometheusRule:
serviceAccount:
create: false
name: default
automountServiceAccountToken: true

# Creates a PodSecurityPolicy and the role/rolebinding
# allowing the serviceaccount to use it
Expand Down

0 comments on commit 1249e9e

Please sign in to comment.