From b36320f0e5df73afa8c0bc5797efabae386af5ee Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 22 Dec 2022 08:03:39 +0100
Subject: [PATCH] OZG-3279 OZG-3327 Memory angepasst

---
 src/main/helm/templates/_helpers.tpl         | 4 ++--
 src/test/helm/deployment_resources_test.yaml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/helm/templates/_helpers.tpl b/src/main/helm/templates/_helpers.tpl
index 777f3437..3728db3c 100644
--- a/src/main/helm/templates/_helpers.tpl
+++ b/src/main/helm/templates/_helpers.tpl
@@ -64,10 +64,10 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
 {{- if eq (include "app.kopEnvironment" . ) "prod" }}
   limits:
     cpu: "500m"
-    memory: "192Mi"
+    memory: "2000Mi"
   requests:
     cpu: "50m"
-    memory: "192Mi"
+    memory: "250Mi"
 {{- else }}
   limits:
     cpu: "500m"
diff --git a/src/test/helm/deployment_resources_test.yaml b/src/test/helm/deployment_resources_test.yaml
index dc869354..a14547ee 100644
--- a/src/test/helm/deployment_resources_test.yaml
+++ b/src/test/helm/deployment_resources_test.yaml
@@ -41,13 +41,13 @@ tests:
           value: 500m
       - equal:
           path: spec.template.spec.containers[0].resources.limits.memory
-          value: 192Mi
+          value: 2000Mi
       - equal:
           path: spec.template.spec.containers[0].resources.requests.cpu
           value: 50m
       - equal:
           path: spec.template.spec.containers[0].resources.requests.memory
-          value: 192Mi
+          value: 250Mi
   - it: test default resources
     template: deployment.yaml
     release:
-- 
GitLab