From eda5e2b842191ebc0fd007817775f3505e2c3b88 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 9 Sep 2024 16:25:42 +0200 Subject: [PATCH] OZG-6665 Adjust helm test --- src/test/helm/service_test.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/helm/service_test.yaml b/src/test/helm/service_test.yaml index 00d7b3d3..b5141ecd 100644 --- a/src/test/helm/service_test.yaml +++ b/src/test/helm/service_test.yaml @@ -85,6 +85,16 @@ tests: protocol: TCP count: 1 any: true + - it: ports should contain the metrics port + asserts: + - contains: + path: spec.ports + content: + name: metrics + port: 9002 + protocol: TCP + count: 1 + any: true - it: selector should contain the component label with the value user-manager asserts: - equal: -- GitLab