Skip to content

Commit

Permalink
[kube-prometheus-stack] Add automountServiceAccountToken option to ku…
Browse files Browse the repository at this point in the history
…be-prometheus-stack aler… (#3180)

* Add automountServiceAccountToken option to kube-prometheus-stack alertmanager service account

Signed-off-by: stgrace <stefgraces@hotmail.com>

* Update chart version yaml

Signed-off-by: stgrace <stefgraces@hotmail.com>

---------

Signed-off-by: stgrace <stefgraces@hotmail.com>
Signed-off-by: Quentin Bisson <quentin@giantswarm.io>
Co-authored-by: Quentin Bisson <quentin@giantswarm.io>
  • Loading branch information
stgrace and QuentinBisson committed Apr 19, 2023
1 parent 7966372 commit d75649b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 45.13.0
version: 45.14.0
appVersion: v0.63.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
annotations:
{{ toYaml .Values.alertmanager.serviceAccount.annotations | indent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.alertmanager.serviceAccount.automountServiceAccountToken }}
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ include "kube-prometheus-stack.imagePullSecrets" . | trim | indent 2}}
Expand Down
1 change: 1 addition & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ alertmanager:
create: true
name: ""
annotations: {}
automountServiceAccountToken: true

## Configure pod disruption budgets for Alertmanager
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
Expand Down

0 comments on commit d75649b

Please sign in to comment.