From 5f6fd8f04da3cb4709e64a2d323af3f8c7632b6b Mon Sep 17 00:00:00 2001 From: "milan.horvath" Date: Fri, 12 Sep 2025 16:13:41 +0200 Subject: [PATCH] feat: add resources template to deployment.yaml --- templates/deployment.yaml | 2 ++ values.yaml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 29aefef..205ec2b 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -86,6 +86,8 @@ spec: periodSeconds: 10 successThreshold: 1 timeoutSeconds: 10 + resources: + {{- toYaml .Values.resources | nindent 10 }} env: {{- $envVals := .Values.global.env -}} {{- if (.Values.env) }} diff --git a/values.yaml b/values.yaml index 6995af4..bc74e0f 100644 --- a/values.yaml +++ b/values.yaml @@ -47,6 +47,13 @@ readinessProbe: startupProbe: url: /healthcheck +# Define the resources for main container +resources: + requests: + memory: 200Mi + limits: + memory: 300Mi + # node selector for the pods nodeSelector: