mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
✨ cloudnative-pg migration
This commit is contained in:
@@ -19,12 +19,12 @@ spec:
|
||||
AWS_SECRET_ACCESS_KEY: "{{ .OUTLINE_AWS_SECRET_ACCESS_KEY }}"
|
||||
SECRET_KEY: "{{ .OUTLINE_SECRET_KEY }}"
|
||||
UTILS_SECRET: "{{ .OUTLINE_UTILS_SECRET }}"
|
||||
DATABASE_URL: postgresql://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres.${SECRET_DOMAIN}:5432/outline
|
||||
DATABASE_URL: "postgresql://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres16-rw.database.svc.cluster.local/outline"
|
||||
OIDC_CLIENT_SECRET: "{{ .OUTLINE_OAUTH_CLIENT_SECRET }}"
|
||||
PGSSLMODE: require
|
||||
# PGSSLMODE: require
|
||||
# Postgres Init
|
||||
INIT_POSTGRES_DBNAME: outline
|
||||
INIT_POSTGRES_HOST: postgres.${SECRET_DOMAIN}
|
||||
INIT_POSTGRES_HOST: postgres16-rw.database.svc.cluster.local
|
||||
INIT_POSTGRES_USER: "{{ .POSTGRES_USER }}"
|
||||
INIT_POSTGRES_PASS: "{{ .POSTGRES_PASS }}"
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
@@ -32,6 +32,6 @@ spec:
|
||||
- extract:
|
||||
key: authelia
|
||||
- extract:
|
||||
key: generic
|
||||
key: cloudnative-pg
|
||||
- extract:
|
||||
key: outline
|
||||
|
@@ -34,13 +34,13 @@ spec:
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
initContainers:
|
||||
# init-db:
|
||||
# image:
|
||||
# repository: ghcr.io/onedr0p/postgres-init
|
||||
# tag: 16
|
||||
# envFrom: &envFrom
|
||||
# - secretRef:
|
||||
# name: outline-secret
|
||||
init-db:
|
||||
image:
|
||||
repository: ghcr.io/onedr0p/postgres-init
|
||||
tag: 16
|
||||
envFrom: &envFrom
|
||||
- secretRef:
|
||||
name: outline-secret
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
|
Reference in New Issue
Block a user