Skip to content

Commit

Permalink
chore: point the standby kc instance at patroni-DR
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Nov 21, 2024
1 parent 0852f92 commit cb0ecd8
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 cb0ecd8

Please sign in to comment.