diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index 3b85906d534be71442b8ccbb7eb7c0f6f685ee48..f72f19f9cfa2e96c0f53146fb0ead8d6fe7c029f 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -149,7 +149,7 @@ function(params) { apiVersion: 'v1', kind: 'ServiceAccount', metadata: p._metadata, - automountServiceAccountToken: false, + automountServiceAccountToken: true, }, service: { diff --git a/manifests/prometheus-serviceAccount.yaml b/manifests/prometheus-serviceAccount.yaml index 275ffb0ada216bb0fdd2b1604fe652dcd6b27f42..580e309da1faa067a28fb688156b2279ef17d973 100644 --- a/manifests/prometheus-serviceAccount.yaml +++ b/manifests/prometheus-serviceAccount.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -automountServiceAccountToken: false +automountServiceAccountToken: true kind: ServiceAccount metadata: labels: