From 0903236924c3e8c817a7d2f1d4d3d7438179170f Mon Sep 17 00:00:00 2001 From: Yannick Clausen Date: Thu, 12 Dec 2024 08:38:59 +0100 Subject: [PATCH] move config into configmap --- charts/dbildungs-iam-server/templates/configmap.yaml | 1 + charts/dbildungs-iam-server/values.yaml | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/dbildungs-iam-server/templates/configmap.yaml b/charts/dbildungs-iam-server/templates/configmap.yaml index 6603a8e9f..67068141c 100644 --- a/charts/dbildungs-iam-server/templates/configmap.yaml +++ b/charts/dbildungs-iam-server/templates/configmap.yaml @@ -28,3 +28,4 @@ data: ITSLEARNING_ROOT: '{{ .Values.itslearning.root }}' ITSLEARNING_ROOT_OEFFENTLICH: '{{ .Values.itslearning.rootOeffentlich }}' ITSLEARNING_ROOT_ERSATZ: '{{ .Values.itslearning.rootErsatz }}' + NODE_OPTIONS: "--max-old-space-size={{ .Values.backend.env.maxOldSpaceSize }}" diff --git a/charts/dbildungs-iam-server/values.yaml b/charts/dbildungs-iam-server/values.yaml index 8d194f365..e65b5a16b 100644 --- a/charts/dbildungs-iam-server/values.yaml +++ b/charts/dbildungs-iam-server/values.yaml @@ -124,9 +124,7 @@ backend: interval: 30m endpoints: - port: 'web' - extraEnvVars: - - name: NODE_OPTIONS - value: "--max-old-space-size=3584" + extraEnvVars: [] extraVolumes: [] volumeMounts: - mountPath: /app/config/config.json @@ -141,6 +139,7 @@ backend: renameWaitingTimeInSeconds: 3 stepUpTimeoutInSeconds: 900 stepUpTimeoutEnabled: 'false' + maxOldSpaceSize: 3584 autoscaling: enabled: false