mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 06:47:25 +08:00
[bitnami/odoo] fix: 🔒 Move service-account token auto-mount to pod declaration (#22445)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
10dd0a5d05
commit
86b9db9f53
@@ -34,4 +34,4 @@ maintainers:
|
||||
name: odoo
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/odoo
|
||||
version: 25.2.1
|
||||
version: 25.3.0
|
||||
|
||||
@@ -153,6 +153,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `customReadinessProbe` | Custom readinessProbe that overrides the default one | `{}` |
|
||||
| `customStartupProbe` | Custom startupProbe that overrides the default one | `{}` |
|
||||
| `lifecycleHooks` | LifecycleHooks to set additional configuration at startup | `{}` |
|
||||
| `automountServiceAccountToken` | Mount Service Account token in pod | `false` |
|
||||
| `hostAliases` | Odoo pod host aliases | `[]` |
|
||||
| `podLabels` | Extra labels for Odoo pods | `{}` |
|
||||
| `podAnnotations` | Annotations for Odoo pods | `{}` |
|
||||
|
||||
@@ -31,6 +31,7 @@ spec:
|
||||
spec:
|
||||
{{- include "odoo.imagePullSecrets" . | nindent 6 }}
|
||||
serviceAccountName: {{ template "odoo.serviceAccountName" . }}
|
||||
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -284,6 +284,9 @@ customStartupProbe: {}
|
||||
## @param lifecycleHooks LifecycleHooks to set additional configuration at startup
|
||||
##
|
||||
lifecycleHooks: {}
|
||||
## @param automountServiceAccountToken Mount Service Account token in pod
|
||||
##
|
||||
automountServiceAccountToken: false
|
||||
## @param hostAliases Odoo pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user