From bbbcd6807e972c6120d90df52b8ffe9da03ebce3 Mon Sep 17 00:00:00 2001 From: Axel Lender Date: Thu, 14 Aug 2025 11:20:57 +0200 Subject: [PATCH] fix(xwiki): Templating of `imagePullSecrets` --- helmfile/apps/xwiki/values.yaml.gotmpl | 3 ++- helmfile/environments/default/global.yaml.gotmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/helmfile/apps/xwiki/values.yaml.gotmpl b/helmfile/apps/xwiki/values.yaml.gotmpl index 147238e3..9c4bcad6 100644 --- a/helmfile/apps/xwiki/values.yaml.gotmpl +++ b/helmfile/apps/xwiki/values.yaml.gotmpl @@ -16,7 +16,8 @@ image: {{- fail "Unsupported value for .Values.databases.xwiki.type, supported values are 'mariadb' or 'postgresql'" }} {{- end }} pullPolicy: {{ .Values.global.imagePullPolicy | quote }} -imagePullSecrets: {{ .Values.global.imagePullSecrets }} +imagePullSecrets: + {{ .Values.global.imagePullSecrets | toYaml | nindent 2 }} javaOpts: {{- if and (eq (env "OPENDESK_ENTERPRISE") "true") .Values.enterpriseKeys.xwiki.opendeskEnterpriseLicense .Values.enterpriseKeys.xwiki.proApplicationslicense }} diff --git a/helmfile/environments/default/global.yaml.gotmpl b/helmfile/environments/default/global.yaml.gotmpl index 20b83899..5c6a6ca9 100644 --- a/helmfile/environments/default/global.yaml.gotmpl +++ b/helmfile/environments/default/global.yaml.gotmpl @@ -63,7 +63,7 @@ global: whiteboard: "whiteboard" xwiki: "wiki" - ## Credentials to fetch images from private registry + ## Define a list containing names of the secrets to use when fetching images from private registries. ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ # imagePullSecrets: []