From ea9508f0b1b00053090aca699f9605444473310d Mon Sep 17 00:00:00 2001 From: giulio-giunta <56529931+giulio-giunta@users.noreply.github.com> Date: Sun, 17 Dec 2023 13:06:38 +0000 Subject: [PATCH] Fixed GeekZone application image tag --- aws/k8s/celery/celery-deploy.yaml | 2 +- aws/k8s/prod-environment/deploy-gz-web.yaml | 8 ++++---- aws/k8s/test-environment/deploy-test.yaml | 8 ++++---- azure/k8s/celery/celery-deploy.yaml | 2 +- azure/k8s/prod-environment/deploy-gz-web.yaml | 8 ++++---- azure/k8s/test-environment/deploy-test.yaml | 8 ++++---- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/aws/k8s/celery/celery-deploy.yaml b/aws/k8s/celery/celery-deploy.yaml index 589f188..75bba97 100644 --- a/aws/k8s/celery/celery-deploy.yaml +++ b/aws/k8s/celery/celery-deploy.yaml @@ -31,7 +31,7 @@ spec: name: celery-broker-url - secretRef: name: celery-secrets - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG name: celery command: ["sh", "-c", "celery -A web worker -l INFO"] resources: diff --git a/aws/k8s/prod-environment/deploy-gz-web.yaml b/aws/k8s/prod-environment/deploy-gz-web.yaml index dc2a27f..3892442 100644 --- a/aws/k8s/prod-environment/deploy-gz-web.yaml +++ b/aws/k8s/prod-environment/deploy-gz-web.yaml @@ -27,20 +27,20 @@ spec: spec: initContainers: - name: wait-for-migration - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "migrate"] envFrom: - secretRef: name: prod-secrets - name: wait-for-database - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "wait_for_database"] envFrom: - secretRef: name: prod-secrets containers: - name: django-backend - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG envFrom: - secretRef: name: celery-broker-url @@ -54,7 +54,7 @@ spec: memory: "50Mi" cpu: 30m - name: frontend-proxy - image: geekzone/frontend:0.1.$TAG + image: geekzone/frontend:$TAG ports: - containerPort: 8080 protocol: TCP diff --git a/aws/k8s/test-environment/deploy-test.yaml b/aws/k8s/test-environment/deploy-test.yaml index 62d9870..0366ef6 100644 --- a/aws/k8s/test-environment/deploy-test.yaml +++ b/aws/k8s/test-environment/deploy-test.yaml @@ -79,20 +79,20 @@ spec: spec: initContainers: - name: wait-for-migration - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "migrate"] envFrom: - secretRef: name: testing-secrets - name: wait-for-database - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "wait_for_database"] envFrom: - secretRef: name: testing-secrets containers: - name: django-backend - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG envFrom: - secretRef: name: dynamic-secrets @@ -106,7 +106,7 @@ spec: memory: "50Mi" cpu: 30m - name: frontend-proxy - image: geekzone/frontend:0.1.$TAG + image: geekzone/frontend:$TAG ports: - containerPort: 8080 protocol: TCP diff --git a/azure/k8s/celery/celery-deploy.yaml b/azure/k8s/celery/celery-deploy.yaml index 589f188..75bba97 100644 --- a/azure/k8s/celery/celery-deploy.yaml +++ b/azure/k8s/celery/celery-deploy.yaml @@ -31,7 +31,7 @@ spec: name: celery-broker-url - secretRef: name: celery-secrets - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG name: celery command: ["sh", "-c", "celery -A web worker -l INFO"] resources: diff --git a/azure/k8s/prod-environment/deploy-gz-web.yaml b/azure/k8s/prod-environment/deploy-gz-web.yaml index b3a618b..1a76402 100644 --- a/azure/k8s/prod-environment/deploy-gz-web.yaml +++ b/azure/k8s/prod-environment/deploy-gz-web.yaml @@ -27,20 +27,20 @@ spec: spec: initContainers: - name: wait-for-migration - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "migrate"] envFrom: - secretRef: name: prod-secrets - name: wait-for-database - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "wait_for_database"] envFrom: - secretRef: name: prod-secrets containers: - name: django-backend - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG envFrom: - secretRef: name: celery-broker-url @@ -54,7 +54,7 @@ spec: memory: "50Mi" cpu: 30m - name: frontend-proxy - image: geekzone/frontend:0.1.$TAG + image: geekzone/frontend:$TAG ports: - containerPort: 8080 protocol: TCP diff --git a/azure/k8s/test-environment/deploy-test.yaml b/azure/k8s/test-environment/deploy-test.yaml index 3e11ceb..cb90496 100644 --- a/azure/k8s/test-environment/deploy-test.yaml +++ b/azure/k8s/test-environment/deploy-test.yaml @@ -79,20 +79,20 @@ spec: spec: initContainers: - name: wait-for-migration - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "migrate"] envFrom: - secretRef: name: testing-secrets - name: wait-for-database - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG command: ["python3", "manage.py", "wait_for_database"] envFrom: - secretRef: name: testing-secrets containers: - name: django-backend - image: geekzone/backend:0.1.$TAG + image: geekzone/backend:$TAG envFrom: - secretRef: name: dynamic-secrets @@ -106,7 +106,7 @@ spec: memory: "50Mi" cpu: 30m - name: frontend-proxy - image: geekzone/frontend:0.1.$TAG + image: geekzone/frontend:$TAG ports: - containerPort: 8080 protocol: TCP