From 82b28c6f7742865ce242a01c16dec9bb513c681b Mon Sep 17 00:00:00 2001 From: nbcudtc-concourse Date: Mon, 5 Aug 2024 14:02:34 +0100 Subject: [PATCH] Mealie updates --- cluster/apps/home/mealie/helm-release.yaml | 41 +++++++++------------- cluster/base/sources/kustomization.yaml | 1 + cluster/base/sources/mealie.yaml | 10 ++++++ 3 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 cluster/base/sources/mealie.yaml diff --git a/cluster/apps/home/mealie/helm-release.yaml b/cluster/apps/home/mealie/helm-release.yaml index 735a7979..752b8a71 100644 --- a/cluster/apps/home/mealie/helm-release.yaml +++ b/cluster/apps/home/mealie/helm-release.yaml @@ -9,19 +9,29 @@ spec: releaseName: mealie chart: spec: - # renovate: registryUrl=https://k8s-at-home.com/charts + # renovate: registryUrl=https://jvalskis.github.io/mealie-helm/ chart: mealie - version: 5.1.2 + version: 1.0.1 sourceRef: - name: k8s-at-home + name: mealie namespace: flux-system kind: HelmRepository values: env: - ALLOW_SIGNUP: "False" + PUID: '1001' + PGID: '1001' + DEFAULT_EMAIL: "${SECRET_MEALIE_EMAIL}" + DEFAULT_PASSWORD: "${SECRET_MEALIE_PASSWORD}" + BASE_URL: "https://mealie.${SECRET_DOMAIN}" + API_DOCS: 'false' + SMTP_HOST: "${SECRET_SMTP_HOST}" + SMTP_USER: "${SECRET_SMTP_USERNAME}" + SMTP_PASSWORD: "${SECRET_SMTP_PASSWORD}" + SMTP_FROM_EMAIL: "${SECRET_MEALIE_EMAIL}" + ALLOW_SIGNUP: 'false' image: - repository: hkotel/mealie - tag: frontend-v1.0.0beta-5 + repository: mealie-recipes/mealie + tag: v1.11.0 hostname: mealie ingress: main: @@ -46,22 +56,3 @@ spec: existingClaim: mealie-data-pvc mountPath: /app/data readOnly: false - api: - image: - repository: hkotel/mealie - tag: api-v1.0.0beta-5 - env: - PUID: '1001' - PGID: '1001' - DEFAULT_EMAIL: "${SECRET_MEALIE_EMAIL}" - DEFAULT_PASSWORD: "${SECRET_MEALIE_PASSWORD}" - BASE_URL: "https://mealie.${SECRET_DOMAIN}" - API_DOCS: 'false' - SMTP_HOST: "${SECRET_SMTP_HOST}" - SMTP_USER: "${SECRET_SMTP_USERNAME}" - SMTP_PASSWORD: "${SECRET_SMTP_PASSWORD}" - SMTP_FROM_EMAIL: "${SECRET_MEALIE_EMAIL}" - ALLOW_SIGNUP: 'false' - volumeMounts: - - name: data - mountPath: /app/data diff --git a/cluster/base/sources/kustomization.yaml b/cluster/base/sources/kustomization.yaml index 249102bd..317063e5 100644 --- a/cluster/base/sources/kustomization.yaml +++ b/cluster/base/sources/kustomization.yaml @@ -16,3 +16,4 @@ resources: - renovate.yaml - firefly.yaml - immich.yaml + - mealie.yaml diff --git a/cluster/base/sources/mealie.yaml b/cluster/base/sources/mealie.yaml new file mode 100644 index 00000000..53f0b0cd --- /dev/null +++ b/cluster/base/sources/mealie.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: mealie + namespace: flux-system +spec: + interval: 10m + url: https://jvalskis.github.io/mealie-helm/ + timeout: 3m