From 3612540414ac7cc5f50282ee37184ac1beb54f10 Mon Sep 17 00:00:00 2001 From: mehmet Date: Tue, 7 May 2024 19:07:12 +0200 Subject: [PATCH] Update container names in Kubernetes deployment files --- .github/workflows/dev-client.yml | 2 +- infra/k8s-dev/backend-deployment.yaml | 2 +- infra/k8s-staging/backend-deployment.yaml | 2 +- infra/k8s/backend-deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev-client.yml b/.github/workflows/dev-client.yml index 44cd5647..1ae50259 100644 --- a/.github/workflows/dev-client.yml +++ b/.github/workflows/dev-client.yml @@ -45,6 +45,6 @@ jobs: --cluster=kubernetes \ --user=github-action kubectl config use-context default - kubectl set image deployment/frontend-deployment-dev client=sayinmehmet47/client-kitapkurdu-1:${{ env.TAG_VERSION }} -n kitapkurdu + kubectl set image deployment/frontend-deployment-dev frontend=sayinmehmet47/client-kitapkurdu-1:${{ env.TAG_VERSION }} -n kitapkurdu env: KUBECONFIG: kubeconfig diff --git a/infra/k8s-dev/backend-deployment.yaml b/infra/k8s-dev/backend-deployment.yaml index 0e0d643f..185f1c28 100644 --- a/infra/k8s-dev/backend-deployment.yaml +++ b/infra/k8s-dev/backend-deployment.yaml @@ -18,7 +18,7 @@ spec: track: stable spec: containers: - - name: kitapkurdu + - name: backend image: sayinmehmet47/backend-kitapkurdu-1:dev env: - name: MONGO_URI diff --git a/infra/k8s-staging/backend-deployment.yaml b/infra/k8s-staging/backend-deployment.yaml index 406954b9..49a7d598 100644 --- a/infra/k8s-staging/backend-deployment.yaml +++ b/infra/k8s-staging/backend-deployment.yaml @@ -18,7 +18,7 @@ spec: track: stable spec: containers: - - name: kitapkurdu + - name: backend image: sayinmehmet47/backend-kitapkurdu-1:latest env: - name: MONGO_URI diff --git a/infra/k8s/backend-deployment.yaml b/infra/k8s/backend-deployment.yaml index a7aa20ef..8ec361f3 100644 --- a/infra/k8s/backend-deployment.yaml +++ b/infra/k8s/backend-deployment.yaml @@ -30,7 +30,7 @@ spec: tier: backend spec: containers: - - name: kitapkurdu + - name: backend image: sayinmehmet47/backend-kitapkurdu-1:latest env: - name: MONGO_URI