mirror of
https://github.com/auricom/home-cluster.git
synced 2025-12-27 01:04:39 +01:00
♻️ migrate postgresql to truenas jail + minio https
This commit is contained in:
@@ -20,7 +20,7 @@ spec:
|
||||
PAPERLESS_SECRET_KEY: "{{ .PAPERLESS_SECRET_KEY }}"
|
||||
PAPERLESS_DBUSER: &dbUser "{{ .POSTGRES_USER }}"
|
||||
PAPERLESS_DBPASS: &dbPass "{{ .POSTGRES_PASS }}"
|
||||
PAPERLESS_DBHOST: &dbHost postgres-rw.default.svc.cluster.local
|
||||
PAPERLESS_DBHOST: &dbHost postgres.${SECRET_DOMAIN}
|
||||
PAPERLESS_DBPORT: "5432"
|
||||
|
||||
# Postgres Init
|
||||
@@ -31,6 +31,6 @@ spec:
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: cloudnative-pg
|
||||
key: generic
|
||||
- extract:
|
||||
key: paperless
|
||||
|
||||
@@ -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: paperless-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-paperless-redis
|
||||
interval: 30m
|
||||
|
||||
Reference in New Issue
Block a user