mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-19 10:06:18 +10:00
[bitnami/thanos] added Parameter for automountServiceAccountToken on every Deployment or Statefulset (#9590)
Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com> Signed-off-by: Jan Mederer <jan@mederer.it> Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>
This commit is contained in:
co-authored by
Miguel Ángel Cabrera Miñagorri
parent
a7c18704ed
commit
ebc73d5903
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user