Restore webp conversion for init running as job

This commit is contained in:
2023-09-23 18:26:16 +00:00
parent d6292ca4b0
commit f70afe5523
2 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
variables:
HELM_CHART_VERSION: "1.0.21"
HELM_CHART_VERSION: "1.0.22"
stages:
- deploy

View File

@@ -69,7 +69,16 @@ data:
"overwriteDatabase": {{ .Values.init.db.overwrite | default false }},
"generateSalts": true,
"activateTheme": "{{ .Values.init.wp.theme | default .Values.site.name }}",
{{- if .Values.init.asJob }}
"convertUploadsToWebp": true,
{{- else }}
"convertUploadsToWebp": {{ .Values.init.content.webpConverter | default false }},
{{- end }}
{{- if and .Values.storage.cloud.active .Values.storage.local.active }}
"backupToCloud": true,
{{- else }}
"backupToCloud": false,
{{- end }}
"convertMissingOnly": true
}