From c9edc6e97ebb28c637a8e7671d77656e9260f86b Mon Sep 17 00:00:00 2001 From: panda Date: Fri, 22 Apr 2022 11:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=9B=B4=E6=96=B0k8s?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4c0279c..9cf2d53 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,7 @@ deployK8s: docker @if [ $(GIT_BRANCH) = $(BRANCH_TEST) ] || [ $(GIT_BRANCH) = $(BRANCH_STAGING) ] || [ $(GIT_BRANCH) = $(BRANCH_MASTER) ]; then\ $(SHELL_EXPORT) envsubst < deployK8s.yaml > $(TMP_FILE_DEPLOY) ; kubectl apply -f $(TMP_FILE_DEPLOY) ; \ + kubectl replace -f $(TMP_FILE_DEPLOY) --force; \ else \ echo !!!!! no docker building in branch $(GIT_BRANCH) !!!!!!; \ fi