From 37c40bc0f4e8539948f7b5b3bc909ae16dec277e Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 18 Dec 2023 14:16:15 +0200 Subject: [PATCH] mealie - bump version (#1859) * mealie - bump version * bump common * chown ixVols on install * account for acls * bump --- library/ix-dev/community/mealie/Chart.lock | 2 +- library/ix-dev/community/mealie/Chart.yaml | 4 ++-- library/ix-dev/community/mealie/templates/_mealie.tpl | 7 ++++++- .../ix-dev/community/mealie/templates/_persistence.tpl | 9 +++++++++ library/ix-dev/community/mealie/values.yaml | 2 +- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/library/ix-dev/community/mealie/Chart.lock b/library/ix-dev/community/mealie/Chart.lock index 458b2a3c2e..655bf369a9 100644 --- a/library/ix-dev/community/mealie/Chart.lock +++ b/library/ix-dev/community/mealie/Chart.lock @@ -3,4 +3,4 @@ dependencies: repository: file://../../../common version: 1.2.4 digest: sha256:47ebfd41bc2ac33ab6989e7bd4d1d3aea662365fffa8b525a24cc56a2a35c174 -generated: "2023-12-15T18:22:58.138621992+02:00" +generated: "2023-12-11T16:07:50.550688546+02:00" diff --git a/library/ix-dev/community/mealie/Chart.yaml b/library/ix-dev/community/mealie/Chart.yaml index c86729b8de..188e6a4b15 100644 --- a/library/ix-dev/community/mealie/Chart.yaml +++ b/library/ix-dev/community/mealie/Chart.yaml @@ -3,9 +3,9 @@ description: Mealie is a self-hosted recipe manager and meal planner annotations: title: Mealie type: application -version: 1.0.2 +version: 1.0.3 apiVersion: v2 -appVersion: latest +appVersion: v1.0.0-RC2 kubeVersion: '>=1.16.0-0' maintainers: - name: truenas diff --git a/library/ix-dev/community/mealie/templates/_mealie.tpl b/library/ix-dev/community/mealie/templates/_mealie.tpl index 571501ee7e..4efe58f6a4 100644 --- a/library/ix-dev/community/mealie/templates/_mealie.tpl +++ b/library/ix-dev/community/mealie/templates/_mealie.tpl @@ -49,6 +49,11 @@ workload: - python - /app/mealie/scripts/healthcheck.py initContainers: - {{- include "ix.v1.common.app.postgresWait" (dict "name" "01-postgres-wait" + {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions" + "UID" .Values.mealieRunAs.user + "GID" .Values.mealieRunAs.group + "mode" "check" + "type" "install") | nindent 8 }} + {{- include "ix.v1.common.app.postgresWait" (dict "name" "02-postgres-wait" "secretName" "postgres-creds") | nindent 8 }} {{- end -}} diff --git a/library/ix-dev/community/mealie/templates/_persistence.tpl b/library/ix-dev/community/mealie/templates/_persistence.tpl index b18c9f85d5..dbe6958d0c 100644 --- a/library/ix-dev/community/mealie/templates/_persistence.tpl +++ b/library/ix-dev/community/mealie/templates/_persistence.tpl @@ -7,6 +7,11 @@ persistence: mealie: mealie: mountPath: /app/data + {{- if and (eq .Values.mealieStorage.data.type "ixVolume") + (not (.Values.mealieStorage.data.ixVolumeConfig | default dict).aclEnable) }} + 01-permissions: + mountPath: /mnt/directories/data + {{- end }} tmp: enabled: true type: emptyDir @@ -22,6 +27,10 @@ persistence: mealie: mealie: mountPath: {{ $storage.mountPath }} + {{- if and (eq $storage.type "ixVolume") (not ($storage.ixVolumeConfig | default dict).aclEnable) }} + 01-permissions: + mountPath: /mnt/directories{{ $storage.mountPath }} + {{- end }} {{- end -}} {{- include "ix.v1.common.app.postgresPersistence" diff --git a/library/ix-dev/community/mealie/values.yaml b/library/ix-dev/community/mealie/values.yaml index 50b2e6e448..bba1aa5287 100644 --- a/library/ix-dev/community/mealie/values.yaml +++ b/library/ix-dev/community/mealie/values.yaml @@ -1,7 +1,7 @@ image: repository: ghcr.io/mealie-recipes/mealie pullPolicy: IfNotPresent - tag: v1.0.0-RC1.1 + tag: v1.0.0-RC2 resources: limits: