Skip to content

Commit

Permalink
Revert "feat: setup of temporary dataapps URL redirector for CSAS mig…
Browse files Browse the repository at this point in the history
…ration"
  • Loading branch information
ondrejhlavacek authored Dec 19, 2024
1 parent 473080d commit 50e3736
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 62 deletions.
7 changes: 0 additions & 7 deletions provisioning/apps-proxy/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,3 @@ kubectl apply -f ./kubernetes/deploy/proxy/config-map.yaml
kubectl apply -f ./kubernetes/deploy/proxy/pdb.yaml
kubectl apply -f ./kubernetes/deploy/proxy/network-policy.yaml
kubectl apply -f ./kubernetes/deploy/proxy/deployment.yaml

# CSAS migration dataaps users redirector
export CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS="${CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS:=0}"
if [ "$CSAS_MIGRATION_APPS_PROXY_REDIRECT_REPLICAS" -gt 0 ]; then
kubectl apply -f ./kubernetes/deploy/nginx-redir/config-map.yaml
kubectl apply -f ./kubernetes/deploy/nginx-redir/deployment.yaml
fi
5 changes: 0 additions & 5 deletions provisioning/apps-proxy/kubernetes/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ envsubst < templates/proxy/pdb.yaml > deploy/proxy/pdb.yaml
envsubst < templates/proxy/network-policy.yaml > deploy/proxy/network-policy.yaml
envsubst < templates/proxy/deployment.yaml > deploy/proxy/deployment.yaml

# CSAS migration, without condition because it's trashed after build
envsubst < templates/nginx-redir/deployment.yaml > deploy/nginx-redir/deployment.yaml
# required NGINX configuration breaks ideal templating so skipping it
cat templates/nginx-redir/config-map.yaml > deploy/nginx-redir/config-map.yaml

# Remove resources requests/limits to fit all pods to the CI environment
REMOVE_RESOURCES_LIMITS="${REMOVE_RESOURCES_LIMITS:=false}"
if [[ "$REMOVE_RESOURCES_LIMITS" == "true" ]]; then
Expand Down
Empty file.

This file was deleted.

This file was deleted.

0 comments on commit 50e3736

Please sign in to comment.