[bitnami/grafana-tempo] fix: 🔒 Move service-account token auto-mount to pod declaration (#22409)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-19 10:24:48 +01:00
committed by GitHub
parent cb8e6f68e9
commit aba2357356
10 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ maintainers:
name: grafana-tempo
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-tempo
version: 2.6.1
version: 2.7.0
+7
View File
@@ -159,6 +159,7 @@ The command removes all the Kubernetes components associated with the chart and
| `compactor.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `compactor.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `compactor.lifecycleHooks` | for the compactor container(s) to automate configuration before or after startup | `{}` |
| `compactor.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `compactor.hostAliases` | compactor pods host aliases | `[]` |
| `compactor.podLabels` | Extra labels for compactor pods | `{}` |
| `compactor.podAnnotations` | Annotations for compactor pods | `{}` |
@@ -244,6 +245,7 @@ The command removes all the Kubernetes components associated with the chart and
| `distributor.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `distributor.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `distributor.lifecycleHooks` | for the distributor container(s) to automate configuration before or after startup | `{}` |
| `distributor.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `distributor.hostAliases` | distributor pods host aliases | `[]` |
| `distributor.podLabels` | Extra labels for distributor pods | `{}` |
| `distributor.podAnnotations` | Annotations for distributor pods | `{}` |
@@ -332,6 +334,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metricsGenerator.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `metricsGenerator.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `metricsGenerator.lifecycleHooks` | for the metricsGenerator container(s) to automate configuration before or after startup | `{}` |
| `metricsGenerator.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `metricsGenerator.hostAliases` | metricsGenerator pods host aliases | `[]` |
| `metricsGenerator.podLabels` | Extra labels for metricsGenerator pods | `{}` |
| `metricsGenerator.podAnnotations` | Annotations for metricsGenerator pods | `{}` |
@@ -418,6 +421,7 @@ The command removes all the Kubernetes components associated with the chart and
| `ingester.containerSecurityContext.allowPrivilegeEscalation` | Set container's Security Context allowPrivilegeEscalation | `false` |
| `ingester.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `ingester.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `ingester.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `ingester.hostAliases` | ingester pods host aliases | `[]` |
| `ingester.podLabels` | Extra labels for ingester pods | `{}` |
| `ingester.podAnnotations` | Annotations for ingester pods | `{}` |
@@ -518,6 +522,7 @@ The command removes all the Kubernetes components associated with the chart and
| `querier.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `querier.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `querier.lifecycleHooks` | for the Querier container(s) to automate configuration before or after startup | `{}` |
| `querier.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `querier.hostAliases` | querier pods host aliases | `[]` |
| `querier.podLabels` | Extra labels for querier pods | `{}` |
| `querier.podAnnotations` | Annotations for querier pods | `{}` |
@@ -605,6 +610,7 @@ The command removes all the Kubernetes components associated with the chart and
| `queryFrontend.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `queryFrontend.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `queryFrontend.lifecycleHooks` | for the queryFrontend container(s) to automate configuration before or after startup | `{}` |
| `queryFrontend.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `queryFrontend.hostAliases` | queryFrontend pods host aliases | `[]` |
| `queryFrontend.podLabels` | Extra labels for queryFrontend pods | `{}` |
| `queryFrontend.podAnnotations` | Annotations for queryFrontend pods | `{}` |
@@ -747,6 +753,7 @@ The command removes all the Kubernetes components associated with the chart and
| `vulture.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `["ALL"]` |
| `vulture.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `vulture.lifecycleHooks` | for the vulture container(s) to automate configuration before or after startup | `{}` |
| `vulture.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `vulture.hostAliases` | vulture pods host aliases | `[]` |
| `vulture.podLabels` | Extra labels for vulture pods | `{}` |
| `vulture.podAnnotations` | Annotations for vulture pods | `{}` |
@@ -36,6 +36,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.compactor.automountServiceAccountToken }}
{{- if .Values.compactor.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.compactor.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -35,6 +35,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.distributor.automountServiceAccountToken }}
{{- if .Values.distributor.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.distributor.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -36,6 +36,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.ingester.automountServiceAccountToken }}
{{- if .Values.ingester.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.ingester.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -35,6 +35,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.metricsGenerator.automountServiceAccountToken }}
{{- if .Values.metricsGenerator.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.metricsGenerator.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -35,6 +35,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.querier.automountServiceAccountToken }}
{{- if .Values.querier.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.querier.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -37,6 +37,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.queryFrontend.automountServiceAccountToken }}
{{- if .Values.queryFrontend.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.queryFrontend.hostAliases "context" $) | nindent 8 }}
{{- end }}
@@ -37,6 +37,7 @@ spec:
spec:
serviceAccountName: {{ template "grafana-tempo.serviceAccountName" . }}
{{- include "grafana-tempo.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.vulture.automountServiceAccountToken }}
{{- if .Values.vulture.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.vulture.hostAliases "context" $) | nindent 8 }}
{{- end }}
+21
View File
@@ -381,6 +381,9 @@ compactor:
## @param compactor.lifecycleHooks for the compactor container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param compactor.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param compactor.hostAliases compactor pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -660,6 +663,9 @@ distributor:
## @param distributor.lifecycleHooks for the distributor container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param distributor.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param distributor.hostAliases distributor pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -945,6 +951,9 @@ metricsGenerator:
## @param metricsGenerator.lifecycleHooks for the metricsGenerator container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param metricsGenerator.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param metricsGenerator.hostAliases metricsGenerator pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -1222,6 +1231,9 @@ ingester:
drop: ["ALL"]
seccompProfile:
type: "RuntimeDefault"
## @param ingester.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param ingester.hostAliases ingester pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -1548,6 +1560,9 @@ querier:
## @param querier.lifecycleHooks for the Querier container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param querier.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param querier.hostAliases querier pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -1831,6 +1846,9 @@ queryFrontend:
## @param queryFrontend.lifecycleHooks for the queryFrontend container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param queryFrontend.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param queryFrontend.hostAliases queryFrontend pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
@@ -2306,6 +2324,9 @@ vulture:
## @param vulture.lifecycleHooks for the vulture container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
## @param vulture.automountServiceAccountToken Mount Service Account token in pod
##
automountServiceAccountToken: false
## @param vulture.hostAliases vulture pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##