mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
♻️ migrate postgresql to truenas jail + minio https
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
engineVersion: v2
|
||||
data:
|
||||
# App
|
||||
DB_HOST: &dbHost postgres-rw.default.svc.cluster.local
|
||||
DB_HOST: &dbHost postgres.${SECRET_DOMAIN}
|
||||
DB_PORT: "5432"
|
||||
DB_DATABASE: &dbName lychee
|
||||
DB_USERNAME: &dbUser "{{ .POSTGRES_USERNAME }}"
|
||||
@@ -28,6 +28,6 @@ spec:
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: cloudnative-pg
|
||||
key: generic
|
||||
- extract:
|
||||
key: lychee
|
||||
|
@@ -35,11 +35,10 @@ spec:
|
||||
reloader.stakater.com/auto: "true"
|
||||
type: statefulset
|
||||
initContainers:
|
||||
01-init-db:
|
||||
init-db:
|
||||
image:
|
||||
repository: ghcr.io/auricom/postgres-init
|
||||
tag: 15.5@sha256:9b1b80d8101d3f1c73ef13b90dff2ab3bc855bd79ebcd334cba57db391ce6db0
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/onedr0p/postgres-init
|
||||
tag: 16
|
||||
envFrom: &envFrom
|
||||
- secretRef:
|
||||
name: lychee-secret
|
||||
|
Reference in New Issue
Block a user