From ea51dace7907e1a426d8ab3d633e37d5586d1f1f Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 15 May 2024 23:52:08 +0200 Subject: [PATCH] feat: separate staging/prod binaries --- manifests/bin/prod.sh | 4 ---- manifests/bin/staging.sh | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 manifests/bin/staging.sh diff --git a/manifests/bin/prod.sh b/manifests/bin/prod.sh index 6fc304b..db50906 100755 --- a/manifests/bin/prod.sh +++ b/manifests/bin/prod.sh @@ -4,7 +4,3 @@ export NB_REPLICAS=1 . ./manifests/bin/deploy.sh - -#kapply common/delegation.yaml - -#kubectl rollout restart deployment delegation diff --git a/manifests/bin/staging.sh b/manifests/bin/staging.sh new file mode 100755 index 0000000..27a60d6 --- /dev/null +++ b/manifests/bin/staging.sh @@ -0,0 +1,7 @@ +#!/bin/bash -e + +. ./manifests/bin/staging.sh + +kapply common/delegation.yaml + +kubectl rollout restart deployment delegation