From 3c41370596286aaa128da3c1a145de1e73f5b2a4 Mon Sep 17 00:00:00 2001 From: Rudi van Hierden Date: Mon, 14 Oct 2024 14:23:48 +0200 Subject: [PATCH] fix: run api in production mode This prevents development seeds from running by default --- charts/openstad-headless/templates/api/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/openstad-headless/templates/api/deployment.yaml b/charts/openstad-headless/templates/api/deployment.yaml index 7f9a3e63d..f1e799797 100644 --- a/charts/openstad-headless/templates/api/deployment.yaml +++ b/charts/openstad-headless/templates/api/deployment.yaml @@ -134,8 +134,8 @@ spec: name: {{ template "openstad.image.secret.fullname" . }} - name: NODE_ENV - value: development - + value: production + - name: CMS_URL value: https://{{ template "openstad.cms.url" . }} @@ -297,7 +297,7 @@ spec: name: {{ template "openstad.image.secret.fullname" . }} - name: NODE_ENV - value: development + value: production - name: CMS_URL value: https://{{ template "openstad.cms.url" . }}