diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30e3864..5b0c69a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.21" + HELM_CHART_VERSION: "1.0.22" stages: - deploy diff --git a/Chart/templates/configmap.yaml b/Chart/templates/configmap.yaml index afd1224..506789f 100644 --- a/Chart/templates/configmap.yaml +++ b/Chart/templates/configmap.yaml @@ -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 }