From 1fefa2bb823b7506f3c6a5d05109c755f126b8a5 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sat, 17 Aug 2024 15:46:39 +0200 Subject: [PATCH] fix(mycloud-nextcloud): make imaginary optional --- mycloud-nextcloud/templates/release.yaml | 9 ++++++++- mycloud-nextcloud/values.yaml | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/mycloud-nextcloud/templates/release.yaml b/mycloud-nextcloud/templates/release.yaml index 37881a4..e1fdbe9 100644 --- a/mycloud-nextcloud/templates/release.yaml +++ b/mycloud-nextcloud/templates/release.yaml @@ -50,8 +50,10 @@ spec: name: {{ .Values.commons.mail.username | quote }} password: {{ .Values.commons.mail.password | quote }} + {{- if .Values.imaginary.enabled }} defaultConfigs: - imaginary.config.php: true + imaginary.config.php: true + {{- end }} configs: proxy.config.php: |- {{ .Values.default.language | squote }}, 'default_phone_region' => {{ .Values.default.phoneRegion | squote }}, ); + {{- if .Values.imaginary.enabled }} reviews.config.php: |-