♻️ migrate postgresql to truenas jail + minio https

This commit is contained in:
auricom
2024-01-13 17:47:18 +01:00
parent badd042d50
commit 7fd3c78db8
111 changed files with 785 additions and 266 deletions

View File

@@ -18,7 +18,7 @@ spec:
LD_DB_ENGINE: "postgres"
LD_DB_USER: &dbUser "{{ .POSTGRES_USERNAME }}"
LD_DB_PASSWORD: &dbPass "{{ .POSTGRES_PASSWORD }}"
LD_DB_HOST: &dbHost postgres-rw.default.svc.cluster.local
LD_DB_HOST: &dbHost postgres.${SECRET_DOMAIN}
LD_DB_DATABASE: &dbName linkding
LD_SUPERUSER_NAME: "{{ .username }}"
LD_SUPERUSER_PASSWORD: "{{ .password }}"
@@ -30,6 +30,6 @@ spec:
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
dataFrom:
- extract:
key: cloudnative-pg
key: generic
- extract:
key: linkding

View File

@@ -35,9 +35,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: linkding-secret