fix(xwiki): Templating of imagePullSecrets

This commit is contained in:
Axel Lender
2025-08-14 11:20:57 +02:00
committed by Thorsten Roßner
parent 834c84768a
commit bbbcd6807e
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,8 @@ image:
{{- fail "Unsupported value for .Values.databases.xwiki.type, supported values are 'mariadb' or 'postgresql'" }} {{- fail "Unsupported value for .Values.databases.xwiki.type, supported values are 'mariadb' or 'postgresql'" }}
{{- end }} {{- end }}
pullPolicy: {{ .Values.global.imagePullPolicy | quote }} pullPolicy: {{ .Values.global.imagePullPolicy | quote }}
imagePullSecrets: {{ .Values.global.imagePullSecrets }} imagePullSecrets:
{{ .Values.global.imagePullSecrets | toYaml | nindent 2 }}
javaOpts: javaOpts:
{{- if and (eq (env "OPENDESK_ENTERPRISE") "true") .Values.enterpriseKeys.xwiki.opendeskEnterpriseLicense .Values.enterpriseKeys.xwiki.proApplicationslicense }} {{- if and (eq (env "OPENDESK_ENTERPRISE") "true") .Values.enterpriseKeys.xwiki.opendeskEnterpriseLicense .Values.enterpriseKeys.xwiki.proApplicationslicense }}

View File

@@ -63,7 +63,7 @@ global:
whiteboard: "whiteboard" whiteboard: "whiteboard"
xwiki: "wiki" 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/ ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# #
imagePullSecrets: [] imagePullSecrets: []