♻️ 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

@@ -20,10 +20,10 @@ spec:
LLDAP_USER_DN: "{{ .username }}"
LLDAP_LDAP_USER_EMAIL: "{{ .LLDAP_LDAP_USER_EMAIL }}"
LLDAP_SERVER_KEY_SEED: "{{ .LLDAP_SERVER_KEY_SEED }}"
LLDAP_DATABASE_URL: "postgres://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres-rw.default.svc.cluster.local/lldap"
LLDAP_DATABASE_URL: "postgres://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres.${SECRET_DOMAIN}/lldap"
# Postgres Init
INIT_POSTGRES_DBNAME: lldap
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 }}"
@@ -31,4 +31,4 @@ spec:
- extract:
key: lldap
- extract:
key: cloudnative-pg
key: generic

View File

@@ -6,8 +6,6 @@ metadata:
name: cluster-apps-lldap
namespace: flux-system
spec:
dependsOn:
- name: cluster-apps-cloudnative-pg-cluster
path: ./kubernetes/apps/default/lldap/app
prune: true
sourceRef: