2022-05-10 10:29:54 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: mealie
|
|
|
|
namespace: mealie
|
|
|
|
annotations:
|
|
|
|
kube-1password: 7ibib7oafxbxkvofnd4oxcr3qy
|
|
|
|
kube-1password/vault: Kubernetes
|
|
|
|
kube-1password/secret-text-parse: "true"
|
|
|
|
type: Opaque
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: mealie
|
|
|
|
namespace: mealie
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
2024-03-04 09:11:17 +00:00
|
|
|
strategy:
|
|
|
|
type: Recreate
|
2022-05-10 10:29:54 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: mealie
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: mealie
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: frontend
|
2024-06-20 03:06:30 +00:00
|
|
|
image: ghcr.io/mealie-recipes/mealie:v1.9.0
|
2022-12-07 19:53:02 +00:00
|
|
|
imagePullPolicy: Always
|
2022-05-10 10:29:54 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: mealie
|
|
|
|
env:
|
|
|
|
- name: PUID
|
|
|
|
value: "1000"
|
|
|
|
- name: PGID
|
|
|
|
value: "1000"
|
|
|
|
- name: TOKEN_TIME
|
2022-05-12 11:12:08 +00:00
|
|
|
value: "168"
|
2022-05-10 10:29:54 +00:00
|
|
|
- name: DB_ENGINE
|
|
|
|
value: postgres
|
|
|
|
- name: POSTGRES_DB
|
|
|
|
value: mealie
|
|
|
|
- name: RECIPE_PUBLIC
|
|
|
|
value: "false"
|
|
|
|
- name: RECIPE_SHOW_NUTRITION
|
|
|
|
value: "true"
|
|
|
|
- name: RECIPE_SHOW_ASSETS
|
|
|
|
value: "true"
|
|
|
|
- name: RECIPE_LANDSCAPE_VIEW
|
|
|
|
value: "true"
|
|
|
|
- name: RECIPE_DISABLE_COMMENTS
|
|
|
|
value: "false"
|
|
|
|
- name: RECIPE_DISABLE_AMOUNT
|
|
|
|
value: "false"
|
2024-03-04 09:13:37 +00:00
|
|
|
- name: ALLOW_SIGNUP
|
|
|
|
value: "false"
|
|
|
|
- name: BASE_URL
|
|
|
|
value: "https://mealie.cluster.fun"
|
2022-05-10 10:29:54 +00:00
|
|
|
ports:
|
2024-03-04 09:11:17 +00:00
|
|
|
- containerPort: 9000
|
2022-05-10 10:29:54 +00:00
|
|
|
name: web
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /app/data
|
|
|
|
name: data
|
|
|
|
volumes:
|
|
|
|
- name: data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: mealie
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: mealie
|
|
|
|
namespace: mealie
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: web
|
|
|
|
name: web
|
|
|
|
selector:
|
|
|
|
app: mealie
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: mealie
|
|
|
|
namespace: mealie
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2024-04-04 17:27:03 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
2022-05-10 10:29:54 +00:00
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- mealie.cluster.fun
|
|
|
|
secretName: mealie-ingress
|
|
|
|
rules:
|
|
|
|
- host: mealie.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: mealie
|
|
|
|
port:
|
|
|
|
name: web
|