diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index 6981df5e4..a38966cbf 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -28,4 +28,4 @@ name: thanos sources: - https://github.com/bitnami/bitnami-docker-thanos - https://thanos.io -version: 10.2.3 +version: 10.3.0 diff --git a/bitnami/thanos/templates/bucketweb/deployment.yaml b/bitnami/thanos/templates/bucketweb/deployment.yaml index 40700bf0c..3d0d19ae1 100644 --- a/bitnami/thanos/templates/bucketweb/deployment.yaml +++ b/bitnami/thanos/templates/bucketweb/deployment.yaml @@ -40,6 +40,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "bucketweb" "context" $) }} + automountServiceAccountToken: {{ .Values.bucketweb.automountServiceAccountToken }} {{- if .Values.bucketweb.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.bucketweb.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/compactor/deployment.yaml b/bitnami/thanos/templates/compactor/deployment.yaml index 4dda466e0..c24b95619 100644 --- a/bitnami/thanos/templates/compactor/deployment.yaml +++ b/bitnami/thanos/templates/compactor/deployment.yaml @@ -38,6 +38,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "compactor" "context" $) }} + automountServiceAccountToken: {{ .Values.compactor.automountServiceAccountToken }} {{- if .Values.compactor.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.compactor.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/query-frontend/deployment.yaml b/bitnami/thanos/templates/query-frontend/deployment.yaml index 0469578b0..54eaefdd8 100644 --- a/bitnami/thanos/templates/query-frontend/deployment.yaml +++ b/bitnami/thanos/templates/query-frontend/deployment.yaml @@ -45,6 +45,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "query-frontend" "context" $) }} + automountServiceAccountToken: {{ .Values.queryFrontend.automountServiceAccountToken }} {{- if .Values.queryFrontend.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/query/deployment.yaml b/bitnami/thanos/templates/query/deployment.yaml index 9de12fb02..bd8082c3e 100644 --- a/bitnami/thanos/templates/query/deployment.yaml +++ b/bitnami/thanos/templates/query/deployment.yaml @@ -44,6 +44,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "query" "context" $) }} + automountServiceAccountToken: {{ .Values.query.automountServiceAccountToken }} {{- if .Values.query.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.query.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/receive-distributor/deployment.yaml b/bitnami/thanos/templates/receive-distributor/deployment.yaml index 94d695fe2..8a6de507d 100644 --- a/bitnami/thanos/templates/receive-distributor/deployment.yaml +++ b/bitnami/thanos/templates/receive-distributor/deployment.yaml @@ -43,6 +43,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "receive" "context" $) }} + automountServiceAccountToken: {{ .Values.receiveDistributor.automountServiceAccountToken }} {{- if .Values.receiveDistributor.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.receiveDistributor.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/receive/statefulset.yaml b/bitnami/thanos/templates/receive/statefulset.yaml index c8c1533a4..4e28e967f 100644 --- a/bitnami/thanos/templates/receive/statefulset.yaml +++ b/bitnami/thanos/templates/receive/statefulset.yaml @@ -45,6 +45,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "receive" "context" $) }} + automountServiceAccountToken: {{ .Values.receive.automountServiceAccountToken }} {{- if .Values.receive.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.receive.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/ruler/statefulset.yaml b/bitnami/thanos/templates/ruler/statefulset.yaml index 02eb3cb10..57b386e9a 100644 --- a/bitnami/thanos/templates/ruler/statefulset.yaml +++ b/bitnami/thanos/templates/ruler/statefulset.yaml @@ -44,6 +44,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "ruler" "context" $) }} + automountServiceAccountToken: {{ .Values.ruler.automountServiceAccountToken }} {{- if .Values.ruler.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.ruler.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml b/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml index 9069e8c8c..7b4489f39 100644 --- a/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml +++ b/bitnami/thanos/templates/storegateway/statefulset-sharded.yaml @@ -59,6 +59,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" $ | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "storegateway" "context" $) }} + automountServiceAccountToken: {{ .Values.storegateway.automountServiceAccountToken }} {{- if $.Values.storegateway.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" $.Values.storegateway.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/templates/storegateway/statefulset.yaml b/bitnami/thanos/templates/storegateway/statefulset.yaml index d01ca7ece..c4c651b8a 100644 --- a/bitnami/thanos/templates/storegateway/statefulset.yaml +++ b/bitnami/thanos/templates/storegateway/statefulset.yaml @@ -45,6 +45,7 @@ spec: spec: {{- include "thanos.imagePullSecrets" . | nindent 6 }} serviceAccount: {{ include "thanos.serviceAccount.name" (dict "component" "storegateway" "context" $) }} + automountServiceAccountToken: {{ .Values.storegateway.automountServiceAccountToken }} {{- if .Values.storegateway.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.storegateway.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/thanos/values.yaml b/bitnami/thanos/values.yaml index 81da58d3c..8180c86b1 100644 --- a/bitnami/thanos/values.yaml +++ b/bitnami/thanos/values.yaml @@ -440,6 +440,9 @@ query: ## additionalHeadless: false ## Autoscaling parameters + ## @param query.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param query.serviceAccount.annotations Annotations for Thanos Query Service Account ## @param query.serviceAccount.existingServiceAccount Name for an existing Thanos Query Service Account @@ -928,6 +931,9 @@ queryFrontend: ## @param queryFrontend.service.labelSelectorsOverride Selector for Thanos Query service ## labelSelectorsOverride: {} + ## @param queryFrontend.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param queryFrontend.serviceAccount.annotations Annotations for Thanos Query Frontend Service Account ## @param queryFrontend.serviceAccount.existingServiceAccount Name for an existing Thanos Query Frontend Service Account @@ -1329,6 +1335,9 @@ bucketweb: ## @param bucketweb.service.labelSelectorsOverride Selector for Thanos Query service ## labelSelectorsOverride: {} + ## @param bucketweb.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param bucketweb.serviceAccount.annotations Annotations for Thanos Bucket Web Service Account ## @param bucketweb.serviceAccount.existingServiceAccount Name for an existing Thanos Bucket Web Service Account @@ -1712,6 +1721,9 @@ compactor: ## @param compactor.service.labelSelectorsOverride Selector for Thanos Query service ## labelSelectorsOverride: {} + ## @param compactor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param compactor.serviceAccount.annotations Annotations for Thanos Compactor Service Account ## @param compactor.serviceAccount.existingServiceAccount Name for an existing Thanos Compactor Service Account @@ -2165,6 +2177,9 @@ storegateway: ## If defined, PVC must be created manually before volume will be bound ## existingClaim: "" + ## @param storegateway.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param storegateway.serviceAccount.annotations Annotations for Thanos Store Gateway Service Account ## @param storegateway.serviceAccount.existingServiceAccount Name for an existing Thanos Store Gateway Service Account @@ -2738,6 +2753,9 @@ ruler: ## If defined, PVC must be created manually before volume will be bound ## existingClaim: "" + ## @param ruler.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param ruler.serviceAccount.annotations Annotations for Thanos Ruler Service Account ## @param ruler.serviceAccount.existingServiceAccount Name for an existing Thanos Ruler Service Account @@ -3173,6 +3191,9 @@ receive: ## @param receive.service.additionalHeadless Additional Headless service ## additionalHeadless: false + ## @param receive.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the sts + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param receive.serviceAccount.annotations Annotations for Thanos Receive Service Account ## @param receive.serviceAccount.existingServiceAccount Name for an existing Thanos Receive Service Account @@ -3537,6 +3558,9 @@ receiveDistributor: ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods ## topologySpreadConstraints: [] + ## @param receiveDistributor.automountServiceAccountToken Enable/disable auto mounting of the service account token only for the deployment + ## + automountServiceAccountToken: true ## ServiceAccount configuration ## @param receiveDistributor.serviceAccount.annotations Annotations for Thanos Receive Distributor Service Account ## @param receiveDistributor.serviceAccount.existingServiceAccount Name for an existing Thanos Receive Distributor Service Account