From 0017e21e91d3dd0cda765213c22e77ff864820d0 Mon Sep 17 00:00:00 2001 From: filip Date: Fri, 20 Sep 2024 14:04:16 +0200 Subject: [PATCH] hotfix: proper image for initContainers --- k8s/production/aztec-listener/deployment.yaml | 6 +++--- k8s/production/explorer-api/deployment.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/k8s/production/aztec-listener/deployment.yaml b/k8s/production/aztec-listener/deployment.yaml index 8a91f003..06f8be3d 100644 --- a/k8s/production/aztec-listener/deployment.yaml +++ b/k8s/production/aztec-listener/deployment.yaml @@ -19,8 +19,8 @@ spec: imagePullSecrets: - name: do-registry initContainers: - - name: run-migrations - image: aztec-listener:latest + - image: registry.digitalocean.com/aztlan-containers/aztec-listener:latest + name: run-migrations command: ["yarn", run, "migrate"] env: - name: NODE_ENV @@ -37,11 +37,11 @@ spec: value: "secret-local-password" containers: - image: registry.digitalocean.com/aztlan-containers/aztec-listener:latest + name: aztec-listener resources: limits: memory: 750Mi cpu: 250m - name: aztec-listener env: - name: NODE_ENV value: "development" diff --git a/k8s/production/explorer-api/deployment.yaml b/k8s/production/explorer-api/deployment.yaml index 025d4e85..0fe94a59 100644 --- a/k8s/production/explorer-api/deployment.yaml +++ b/k8s/production/explorer-api/deployment.yaml @@ -19,8 +19,8 @@ spec: imagePullSecrets: - name: do-registry initContainers: - - name: run-migrations - image: explorer-api:latest + - image: registry.digitalocean.com/aztlan-containers/explorer-api:latest + name: run-migrations command: ["yarn", run, "migrate"] env: - name: NODE_ENV @@ -37,6 +37,7 @@ spec: value: "secret-local-password" containers: - image: registry.digitalocean.com/aztlan-containers/explorer-api:latest + name: explorer-api resources: limits: memory: 4096Mi @@ -45,7 +46,6 @@ spec: - name: http-app containerPort: 80 protocol: TCP - name: explorer-api env: - name: NODE_ENV value: "development"