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:
@@ -16,16 +16,16 @@ spec:
|
||||
data:
|
||||
# App
|
||||
ACCESS_TOKEN_SALT: "{{ .GHOSTFOLIO_ACCESS_TOKEN_SALT }}"
|
||||
DATABASE_URL: postgresql://{{ .POSTGRES_USERNAME }}:{{ .POSTGRES_PASSWORD }}@postgres-rw.default.svc.cluster.local:5432/ghostfolio
|
||||
DATABASE_URL: postgresql://{{ .POSTGRES_USERNAME }}:{{ .POSTGRES_PASSWORD }}@postgres.${SECRET_DOMAIN}:5432/ghostfolio
|
||||
JWT_SECRET_KEY: "{{ .GHOSTFOLIO_JWT_SECRET_KEY }}"
|
||||
# Postgres Init
|
||||
INIT_POSTGRES_DBNAME: ghostfolio
|
||||
INIT_POSTGRES_HOST: postgres-rw.default.svc.cluster.local
|
||||
INIT_POSTGRES_HOST: postgres.${SECRET_DOMAIN}
|
||||
INIT_POSTGRES_USER: "{{ .POSTGRES_USERNAME }}"
|
||||
INIT_POSTGRES_PASS: "{{ .POSTGRES_PASSWORD }}"
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: cloudnative-pg
|
||||
key: generic
|
||||
- extract:
|
||||
key: ghostfolio
|
||||
|
@@ -37,9 +37,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
|
||||
- secretRef:
|
||||
name: ghostfolio-secret
|
||||
|
@@ -12,7 +12,6 @@ spec:
|
||||
kind: GitRepository
|
||||
name: home-ops-kubernetes
|
||||
dependsOn:
|
||||
- name: cluster-apps-cloudnative-pg-cluster
|
||||
- name: cluster-apps-external-secrets-stores
|
||||
- name: cluster-apps-ghostfolio-redis
|
||||
interval: 30m
|
||||
|
Reference in New Issue
Block a user