feat(mealie): add pgsql support (#1504)
* feat(mealie): add pgsql support * remove port as this is the default anyway * bump major
This commit is contained in:
parent
7f2eceecc3
commit
98d6693966
|
@ -4,6 +4,10 @@ dependencies:
|
|||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.9.15
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 6.0.24
|
||||
description: Mealie is a self hosted recipe manager and meal planner with a RestAPI backend
|
||||
home: https://github.com/truecharts/apps/tree/master/charts/stable/mealie
|
||||
icon: https://raw.githubusercontent.com/hay-kot/mealie/gh-pages/assets/img/favicon.png
|
||||
|
@ -17,7 +21,7 @@ maintainers:
|
|||
name: mealie
|
||||
sources:
|
||||
- https://github.com/hay-kot/mealie
|
||||
version: 4.0.20
|
||||
version: 5.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- utilities
|
||||
|
|
|
@ -81,11 +81,6 @@ questions:
|
|||
type: dict
|
||||
attrs:
|
||||
# Include{fixedEnv}
|
||||
- variable: DB_TYPE
|
||||
label: "DB_TYPE"
|
||||
schema:
|
||||
type: string
|
||||
default: "sqlite"
|
||||
|
||||
# Include{containerConfig}
|
||||
|
||||
|
|
|
@ -19,9 +19,27 @@ podSecurityContext:
|
|||
env:
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
# -- Set the application database type
|
||||
DB_TYPE: sqlite
|
||||
|
||||
envTpl:
|
||||
DB_TYPE: postgres
|
||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||
|
||||
envValueFrom:
|
||||
POSTGRES_PASSWORD:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: postgresql-password
|
||||
POSTGRES_SERVER:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainporthost
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: mealie
|
||||
postgresqlDatabase: mealie
|
||||
# -- Configures service settings for the chart.
|
||||
# @default -- See values.yaml
|
||||
service:
|
||||
|
|
Loading…
Reference in New Issue