Skip to content

Commit

Permalink
Merge pull request #209 from bcgov/SSOTEAM-2041
Browse files Browse the repository at this point in the history
chore: point the standby kc instance at patroni-DR
  • Loading branch information
thegentlemanphysicist authored Nov 21, 2024
2 parents 0852f92 + cb0ecd8 commit 449d73b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions transition-scripts/helpers/helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,13 @@ upgrade_helm_standby() {
target_host=$(get_tsc_target_host "$namespace" "sso-patroni")
target_port=$(get_tsc_target_port "$namespace" "sso-patroni")


# The postgres.host and postgres port arguments allows the standby keycloak-DR
# deployment to connect to the patroni-Gold instance via the tsc.
# --set postgres.host="$target_host" \
# --set postgres.port="$target_port" \

upgrade_helm "$namespace" "standby" \
--set postgres.host="$target_host" \
--set postgres.port="$target_port" \
--set patroni.standby.enabled=true \
--set patroni.standby.host="$target_host" \
--set patroni.standby.port="$target_port" \
Expand Down

0 comments on commit 449d73b

Please sign in to comment.