From 5cfa83925a6007de0488a04fd98ac4e9d529fe43 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 10 May 2023 16:05:41 +0200 Subject: [PATCH] helm configure resources --- src/test/helm/deployment_resources_test.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/helm/deployment_resources_test.yaml b/src/test/helm/deployment_resources_test.yaml index 699cc7192..744cc0727 100644 --- a/src/test/helm/deployment_resources_test.yaml +++ b/src/test/helm/deployment_resources_test.yaml @@ -28,9 +28,8 @@ release: templates: - templates/deployment.yaml tests: - - it: test resources for prod environment + - it: test resources set: - kop.environment: prod resources: limits: cpu: "11m" @@ -52,4 +51,8 @@ tests: path: spec.template.spec.containers[0].resources.requests.memory value: 44Mi + - it: test empty resources + asserts: + - isEmpty: + path: spec.template.spec.containers[0].resources -- GitLab