mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
♻️ migrate postgresql to truenas jail + minio https
This commit is contained in:
@@ -16,7 +16,7 @@ spec:
|
||||
data:
|
||||
# App
|
||||
DB_DATABASE_NAME: &dbName immich
|
||||
DB_HOSTNAME: &dbHost postgres-rw.default.svc.cluster.local
|
||||
DB_HOSTNAME: &dbHost postgres.${SECRET_DOMAIN}
|
||||
DB_USERNAME: &dbUser "{{ .POSTGRES_USER }}"
|
||||
DB_PASSWORD: &dbPass "{{ .POSTGRES_PASS }}"
|
||||
DB_PORT: "5432"
|
||||
@@ -30,6 +30,6 @@ spec:
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: cloudnative-pg
|
||||
key: generic
|
||||
- extract:
|
||||
key: immich
|
||||
|
@@ -55,9 +55,8 @@ spec:
|
||||
initContainers:
|
||||
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
|
||||
- configMapRef:
|
||||
name: *configMap
|
||||
|
@@ -7,7 +7,6 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
dependsOn:
|
||||
- name: cluster-apps-cloudnative-pg-cluster
|
||||
- name: cluster-apps-external-secrets-stores
|
||||
path: ./kubernetes/apps/default/immich/app
|
||||
prune: true
|
||||
|
Reference in New Issue
Block a user