synapse/manifests/bin/prod.sh

13 lines
204 B
Bash
Executable File

#!/bin/bash -e
# TODO: 3
export NB_REPLICAS=1
. ./manifests/bin/deploy.sh
if [ "$GITHUB_REF_NAME" = prod ]; then
kapply common/delegation.yaml
kubectl rollout restart deployment delegation
fi