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