From 11e4371f6fec57514c1de1350e01d5f9627709ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Fri, 19 Jan 2024 10:15:08 +0100 Subject: [PATCH] [bitnami/redmine] fix: :lock: Move service-account token auto-mount to pod declaration (#22457) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Javier Salmeron Garcia Signed-off-by: Javier J. Salmerón-García --- bitnami/redmine/Chart.yaml | 2 +- bitnami/redmine/README.md | 1 + bitnami/redmine/templates/deployment.yaml | 1 + bitnami/redmine/values.yaml | 3 +++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bitnami/redmine/Chart.yaml b/bitnami/redmine/Chart.yaml index c3dfb54533..3eb93148bc 100644 --- a/bitnami/redmine/Chart.yaml +++ b/bitnami/redmine/Chart.yaml @@ -43,4 +43,4 @@ maintainers: name: redmine sources: - https://github.com/bitnami/charts/tree/main/bitnami/redmine -version: 26.2.1 +version: 26.3.0 diff --git a/bitnami/redmine/README.md b/bitnami/redmine/README.md index e61b65f002..8f3131082a 100644 --- a/bitnami/redmine/README.md +++ b/bitnami/redmine/README.md @@ -161,6 +161,7 @@ helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/redmine --set databa | `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` | Redmine pod host aliases | `[]` | | `podLabels` | Extra labels for Redmine pods | `{}` | | `podAnnotations` | Annotations for Redmine pods | `{}` | diff --git a/bitnami/redmine/templates/deployment.yaml b/bitnami/redmine/templates/deployment.yaml index 63743e63ea..dd232d5202 100644 --- a/bitnami/redmine/templates/deployment.yaml +++ b/bitnami/redmine/templates/deployment.yaml @@ -29,6 +29,7 @@ spec: {{- end }} spec: {{- include "redmine.imagePullSecrets" . | nindent 6 }} + automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/redmine/values.yaml b/bitnami/redmine/values.yaml index b57f1ec100..0dd6b8d95a 100644 --- a/bitnami/redmine/values.yaml +++ b/bitnami/redmine/values.yaml @@ -275,6 +275,9 @@ customStartupProbe: {} ## @param lifecycleHooks LifecycleHooks to set additional configuration at startup ## lifecycleHooks: {} +## @param automountServiceAccountToken Mount Service Account token in pod +## +automountServiceAccountToken: false ## @param hostAliases Redmine pod host aliases ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ ##