Skip to content

Commit

Permalink
feat: setup of temporary dataapps URL redirector for CSAS migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kauf303 committed Sep 20, 2024
1 parent a53cc92 commit c294b20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provisioning/apps-proxy/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ fi
export NAMESPACE="apps-proxy"

# CSAS migration
export CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS="${CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS:=0}"
# FIXME: -n is useless
if [ -n "$CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS" ] && [ "$CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS" -gt 0 ]; then
export APP="nginx"
else
Expand Down

0 comments on commit c294b20

Please sign in to comment.