2024-05-24 21:59:30 +00:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
2024-06-15 19:37:56 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-05-24 21:59:30 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: mealie
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-11-10 21:05:56 +00:00
|
|
|
version: 3.5.1
|
2024-05-24 21:59:30 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
main:
|
|
|
|
# pod:
|
|
|
|
# securityContext:
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# runAsUser: 10000
|
|
|
|
# runAsGroup: 10000
|
|
|
|
# fsGroup: 10000
|
|
|
|
# fsGroupChangePolicy: OnRootMismatch
|
|
|
|
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/mealie-recipes/mealie
|
2024-10-30 13:12:02 +00:00
|
|
|
tag: v2.1.0
|
2024-05-24 21:59:30 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
ALLOW_SIGNUP: true
|
|
|
|
PUID: 10000
|
|
|
|
PGID: 10000
|
|
|
|
TZ: ${SERVER_TIMEZONE}
|
|
|
|
MAX_WORKERS: 1
|
|
|
|
WEB_CONCURRENCY: 1
|
|
|
|
BASE_URL: &host meals.${SECRET_NEW_DOMAIN}
|
|
|
|
|
|
|
|
# database
|
|
|
|
DB_ENGINE: postgres
|
|
|
|
POSTGRES_USER: mealie
|
|
|
|
# specified in mealie-env
|
|
|
|
# POSTGRES_PASSWORD
|
2024-10-17 00:31:50 +00:00
|
|
|
POSTGRES_SERVER: postgres16-rw.database.svc
|
2024-05-24 21:59:30 +00:00
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
POSTGRES_DB: mealie
|
|
|
|
|
2024-05-24 22:29:42 +00:00
|
|
|
# oidc
|
|
|
|
OIDC_AUTH_ENABLED: "True"
|
|
|
|
OIDC_SIGNUP_ENABLED: "True"
|
|
|
|
OIDC_ADMIN_GROUP: mealieAdmins
|
|
|
|
OIDC_AUTO_REDIRECT: "True"
|
|
|
|
OIDC_REMEMBER_ME: "True"
|
|
|
|
# specified in mealie-env
|
|
|
|
# OIDC_CONFIGURATION_URL
|
|
|
|
# OIDC_CLIENT_ID
|
|
|
|
|
2024-05-24 21:59:30 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: mealie-env
|
|
|
|
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 1Gi
|
|
|
|
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: main
|
|
|
|
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 9000
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
|
|
|
|
hosts:
|
|
|
|
- host: *host
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
2024-10-17 19:50:12 +00:00
|
|
|
existingClaim: mealie
|
2024-05-24 21:59:30 +00:00
|
|
|
globalMounts:
|
|
|
|
- path: /app/data
|