Add mealie

This commit is contained in:
Nikolai Rodionov 2024-07-15 07:26:32 +02:00
parent cd55a3e873
commit b9c7c19576
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
6 changed files with 138 additions and 0 deletions

23
charts/mealie/.helmignore Normal file
View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

6
charts/mealie/Chart.lock Normal file
View File

@ -0,0 +1,6 @@
dependencies:
- name: softplayer-lib-workload
repository: oci://git.badhouseplants.net/softplayer
version: 0.2.0
digest: sha256:e6bf909ead48b331a49921e1cf504791fb5ec0a80561d797ae06c7a44ad8a9cd
generated: "2024-07-15T07:23:12.695921+02:00"

16
charts/mealie/Chart.yaml Normal file
View File

@ -0,0 +1,16 @@
apiVersion: v2
name: mealie
description: A Helm chart for running Mealie
type: application
version: 0.1.0
appVersion: v1.10.2
maintainers:
- name: allanger
email: allanger@badhouseplants.net
url: https://badhouseplants.net
dependencies:
- name: softplayer-lib-workload
version: 0.2.0
repository: oci://git.badhouseplants.net/softplayer
annotations:
allowed_workload_kinds: "Deployment"

Binary file not shown.

View File

@ -0,0 +1,7 @@
{{ include "lib.workload" . }}
{{ include "lib.service" . }}
{{ include "lib.ingress" . }}
{{ include "lib.config.env" . }}
{{ include "lib.config.files" . }}
{{ include "lib.pvc" . }}
{{ include "lib.raw" . }}

86
charts/mealie/values.yaml Normal file
View File

@ -0,0 +1,86 @@
---
workload:
kind: Deployment
strategy:
type: RollingUpdate
containers:
mealie:
image:
registry: ghcr.io
repository: mealie-recipes/mealie
tag:
pullPolicy: Always
ports:
- mealie
mounts:
storage:
data:
path: /app/data/
envFrom:
- environment
- secrets
livenessProbe:
httpGet:
path: /api/app/about
port: mealie
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
httpGet:
path: /api/app/about
port: mealie
initialDelaySeconds: 10
periodSeconds: 10
ingress:
main:
class: traefik
annotations:
annotation: test
rules:
- hosts: mealie.softplayer.net
http:
paths:
- backend:
service:
name: "{{ include \"chart.fullname\" $ }}"
port: 9000
tls:
- hosts:
- mealie.softplayer.net
secretName: mealie.softplayer.net
service:
type: ClusterIP
ports:
mealie:
port: 9000
targetPort: 9000
protocol: TCP
storage:
data:
storageClassName: default
size: 1G
accessModes:
- ReadWriteOnce
env:
environment:
sensitive: false
data:
ALLOW_SIGNUP: true
PUID: 1000
PGID: 1000
TZ: Europe/Berlin
MAX_WORKERS: 1
WEB_CONCURRENCY: 1
BASE_URL: https://mealie.softplayer.com
DB_ENGINE: postgres
secrets:
sensitive: true
data:
POSTGRES_USER: mealie
POSTGRES_PASSWORD: mealie
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie