Update mealie.

This commit is contained in:
Alex Manning 2024-08-21 19:17:41 +01:00
parent f2d71000a0
commit f94cdfd4fc
4 changed files with 21 additions and 6 deletions

View file

@ -3,5 +3,5 @@ apiVersion: v2
name: mealie name: mealie
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
type: application type: application
version: 0.1.0 version: 0.2.0
appVersion: "v1.10.1" appVersion: "v1.12.0"

View file

@ -33,7 +33,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: http - name: http
containerPort: 9091 containerPort: 9000
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:
@ -48,6 +48,9 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /app/data/ mountPath: /app/data/
envFrom:
- secretRef:
name: {{ include "mealie.fullname" . }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -0,0 +1,9 @@
---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "mealie.fullname" . }}
labels:
{{- include "mealie.labels" . | nindent 4 }}
stringData:
{{- .Values.config | toYaml | nindent 2}}

View file

@ -13,8 +13,8 @@ fullnameOverride: ""
podAnnotations: {} podAnnotations: {}
podSecurityContext: {} podSecurityContext:
# fsGroup: 2000 fsGroup: 911
securityContext: securityContext:
capabilities: capabilities:
@ -22,7 +22,7 @@ securityContext:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
# runAsUser: 1000 runAsUser: 911
service: service:
type: ClusterIP type: ClusterIP
@ -65,3 +65,6 @@ affinity: {}
pvc: pvc:
storageClassName: "" storageClassName: ""
storage: 1Gi storage: 1Gi
config:
ALLOW_SIGNUP: "false"