storj/scripts/deploy.staging.sh
2018-09-25 10:55:31 -04:00

8 lines
246 B
Bash
Executable File

#!/bin/bash
PROJECT_NAME=$1
CONTAINER=$2
kubectl config set-cluster nonprod
kubectl --namespace v3 patch deployment $PROJECT_NAME -p"{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"$PROJECT_NAME\",\"image\":\"$CONTAINER\"}]}}}}"