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,10 +15,10 @@ spec:
|
||||
engineVersion: v2
|
||||
data:
|
||||
# App
|
||||
ATUIN_DB_URI: "postgres://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres-rw.default.svc.cluster.local/atuin"
|
||||
ATUIN_DB_URI: "postgres://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres.${SECRET_DOMAIN}/atuin"
|
||||
# Postgres Init
|
||||
INIT_POSTGRES_DBNAME: atuin
|
||||
INIT_POSTGRES_HOST: postgres-rw.default.svc.cluster.local
|
||||
INIT_POSTGRES_HOST: postgres.${SECRET_DOMAIN}
|
||||
INIT_POSTGRES_USER: "{{ .POSTGRES_USER }}"
|
||||
INIT_POSTGRES_PASS: "{{ .POSTGRES_PASS }}"
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
@@ -26,4 +26,4 @@ spec:
|
||||
- extract:
|
||||
key: atuin
|
||||
- extract:
|
||||
key: cloudnative-pg
|
||||
key: generic
|
||||
|
@@ -33,9 +33,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: atuin-secret
|
||||
|
Reference in New Issue
Block a user