From 0a12164523e7e08281bba48fe529b9b7a66455a0 Mon Sep 17 00:00:00 2001 From: Marc Hermans Date: Mon, 9 Dec 2024 16:34:45 +0000 Subject: [PATCH] Deploy HA Server setup. --- .devcontainer.json | 1 + Charts/ldtteam-authentication-server/Chart.yaml | 7 +++++++ Charts/ldtteam-authentication-server/values.yaml | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 .devcontainer.json diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..27dc5b1 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1 @@ +{"image":"mcr.microsoft.com/devcontainers/base:ubuntu"} \ No newline at end of file diff --git a/Charts/ldtteam-authentication-server/Chart.yaml b/Charts/ldtteam-authentication-server/Chart.yaml index 1b23d94..2a0792e 100644 --- a/Charts/ldtteam-authentication-server/Chart.yaml +++ b/Charts/ldtteam-authentication-server/Chart.yaml @@ -10,4 +10,11 @@ dependencies: version: "16.1.2" repository: https://charts.bitnami.com/bitnami condition: postgresql.enabled + - name: postgresql-ha + version: "15.0.4" + repository: oci://registry-1.docker.io/bitnamicharts + condition: postgresha.enabled + alias: postgresha + + diff --git a/Charts/ldtteam-authentication-server/values.yaml b/Charts/ldtteam-authentication-server/values.yaml index 468e53a..dee73e5 100644 --- a/Charts/ldtteam-authentication-server/values.yaml +++ b/Charts/ldtteam-authentication-server/values.yaml @@ -83,3 +83,11 @@ postgresql: username: "ldtteam-donator-auth" password: "DonatorAuth1!" database: "donator-auth" + +postgresha: + enabled: true + global: + postgresql: + username: "ldtteam-donator-auth" + password: "DonatorAuth1!" + database: "donator-auth"