Use a string for ZED_LOAD_BALANCER_SIZE_UNIT

Co-Authored-By: Thorsten <thorsten@zed.dev>
This commit is contained in:
Antonio Scandurra 2024-03-06 10:52:35 +01:00
parent e3a7192c11
commit 334c3c670b

View File

@ -124,13 +124,13 @@ jobs:
export ZED_IMAGE_ID="registry.digitalocean.com/zed/collab:${GITHUB_SHA}"
export ZED_SERVICE_NAME=collab
export ZED_LOAD_BALANCER_SIZE_UNIT=$ZED_COLLAB_LOAD_BALANCER_SIZE_UNIT
export ZED_LOAD_BALANCER_SIZE_UNIT="$ZED_COLLAB_LOAD_BALANCER_SIZE_UNIT"
envsubst < crates/collab/k8s/collab.template.yml | kubectl apply -f -
kubectl -n "$ZED_KUBE_NAMESPACE" rollout status deployment/$ZED_SERVICE_NAME --watch
echo "deployed ${ZED_SERVICE_NAME} to ${ZED_KUBE_NAMESPACE}"
export ZED_SERVICE_NAME=api
export ZED_LOAD_BALANCER_SIZE_UNIT=$ZED_API_LOAD_BALANCER_SIZE_UNIT
export ZED_LOAD_BALANCER_SIZE_UNIT="$ZED_API_LOAD_BALANCER_SIZE_UNIT"
envsubst < crates/collab/k8s/collab.template.yml | kubectl apply -f -
kubectl -n "$ZED_KUBE_NAMESPACE" rollout status deployment/$ZED_SERVICE_NAME --watch
echo "deployed ${ZED_SERVICE_NAME} to ${ZED_KUBE_NAMESPACE}"