From 78021d534a5b4a73d186fb8f0f0f82f90fe03fcc Mon Sep 17 00:00:00 2001 From: kumarnarendra701 Date: Mon, 9 Sep 2024 14:38:07 +0530 Subject: [PATCH 1/2] change statefulset to deployment --- .github/workflows/at_server_dev_deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/at_server_dev_deploy.yaml b/.github/workflows/at_server_dev_deploy.yaml index abb4ffa97..b58281f7f 100644 --- a/.github/workflows/at_server_dev_deploy.yaml +++ b/.github/workflows/at_server_dev_deploy.yaml @@ -66,7 +66,8 @@ jobs: cluster_name: ${{ secrets.GKE_DEV_CLUSTER }} location: ${{ secrets.GKE_DEV_ZONE }} - # Deploy the Docker image to the GKE cluster + # Deploy the Docker image to the GKE cluster - name: Deploy run: |- - kubectl -n root set image statefulset root root=atsigncompany/root:dev_env-gha${{ github.run_number }} + kubectl -n root set image deployment/root root=atsigncompany/root:dev-gha${{ github.run_number }} + kubectl rollout restart deployment root -n root From 22d4fb564a3f7f8f6f13603c6956bd685669efa9 Mon Sep 17 00:00:00 2001 From: kumarnarendra701 Date: Mon, 9 Sep 2024 14:40:20 +0530 Subject: [PATCH 2/2] minor update --- .github/workflows/at_server_dev_deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/at_server_dev_deploy.yaml b/.github/workflows/at_server_dev_deploy.yaml index b58281f7f..41c79b131 100644 --- a/.github/workflows/at_server_dev_deploy.yaml +++ b/.github/workflows/at_server_dev_deploy.yaml @@ -69,5 +69,5 @@ jobs: # Deploy the Docker image to the GKE cluster - name: Deploy run: |- - kubectl -n root set image deployment/root root=atsigncompany/root:dev-gha${{ github.run_number }} + kubectl -n root set image deployment/root root=atsigncompany/root:dev_env-gha${{ github.run_number }} kubectl rollout restart deployment root -n root