From 92c903628bd4eea8277d1864d15e7dc9e2810d40 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Thu, 21 Nov 2024 11:29:29 -0500 Subject: [PATCH] unit test fixup --- charts/cryostat/tests/networkpolicy_ingress_test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/cryostat/tests/networkpolicy_ingress_test.yaml b/charts/cryostat/tests/networkpolicy_ingress_test.yaml index bf92384..f8d6ad4 100644 --- a/charts/cryostat/tests/networkpolicy_ingress_test.yaml +++ b/charts/cryostat/tests/networkpolicy_ingress_test.yaml @@ -27,14 +27,16 @@ tests: matchLabels: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/name: cryostat + app.kubernetes.io/part-of: cryostat - equal: path: spec.ingress value: - from: - podSelector: matchLabels: - app.kubernetes.io/instance: RELEASE-NAME + app.kubernetes.io/part-of: cryostat app.kubernetes.io/name: cryostat + app.kubernetes.io/instance: RELEASE-NAME namespaceSelector: matchLabels: kubernetes.io/metadata.name: NAMESPACE