From f14c5574aedb82a849a21b8a553fd8077c9d64c6 Mon Sep 17 00:00:00 2001 From: Andrei Petrov Date: Thu, 8 Feb 2024 17:18:00 +0100 Subject: [PATCH] fix: the tests --- .../tests/ingress/manifest_test.yaml | 2 +- .../tests/statefulset/manifest_test.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kubernetes-stateful-chart/tests/ingress/manifest_test.yaml b/charts/kubernetes-stateful-chart/tests/ingress/manifest_test.yaml index 2d5aaed..069cbcb 100644 --- a/charts/kubernetes-stateful-chart/tests/ingress/manifest_test.yaml +++ b/charts/kubernetes-stateful-chart/tests/ingress/manifest_test.yaml @@ -5,7 +5,7 @@ tests: - it: should be created by default asserts: - hasDocuments: - count: 1 + count: 0 - it: should be created as an http only set: ingress.enabled: true diff --git a/charts/kubernetes-stateful-chart/tests/statefulset/manifest_test.yaml b/charts/kubernetes-stateful-chart/tests/statefulset/manifest_test.yaml index d8f03f7..1379a55 100644 --- a/charts/kubernetes-stateful-chart/tests/statefulset/manifest_test.yaml +++ b/charts/kubernetes-stateful-chart/tests/statefulset/manifest_test.yaml @@ -44,9 +44,9 @@ tests: - equal: path: spec.podManagementPolicy value: OrderedReady - - lengthEqual: + - equal: path: spec.template.spec.volumes - count: 1 + value: null template: statefulset/manifest.yaml - it: should be created with the full configuration set: