diff --git a/platforms/karaf/itests/src/test/java/io/fabric8/kubernetes/karaf/itests/KubernetesDeserializerTest.java b/platforms/karaf/itests/src/test/java/io/fabric8/kubernetes/karaf/itests/KubernetesDeserializerTest.java index 76e9dedacd9..232e30cbb55 100644 --- a/platforms/karaf/itests/src/test/java/io/fabric8/kubernetes/karaf/itests/KubernetesDeserializerTest.java +++ b/platforms/karaf/itests/src/test/java/io/fabric8/kubernetes/karaf/itests/KubernetesDeserializerTest.java @@ -54,7 +54,7 @@ public void canDeserializeModelsFromDifferentKubernetesModules() { final List result = kubernetesClient.load( KubernetesDeserializerTest.class.getResourceAsStream("/deserializer_test.yaml")).items(); // Then - assertEquals(22, result.size()); + assertEquals(23, result.size()); assertResourceTypes(result); } diff --git a/platforms/karaf/itests/src/test/resources/deserializer_test.yaml b/platforms/karaf/itests/src/test/resources/deserializer_test.yaml index 0a041e6bd7a..3ef4e67f811 100644 --- a/platforms/karaf/itests/src/test/resources/deserializer_test.yaml +++ b/platforms/karaf/itests/src/test/resources/deserializer_test.yaml @@ -125,17 +125,17 @@ apiVersion: storage.k8s.io/v1beta1 metadata: name: test-csinode-v1beta1 --- -#apiVersion: gateway.networking.k8s.io/v1beta1 -#kind: HTTPRoute -#metadata: -# name: my-route -# namespace: gateway-api-example-ns2 -#spec: -# parentRefs: -# - kind: Gateway -# name: foo-gateway -# namespace: gateway-api-example-ns1 -# rules: -# - backendRefs: -# - name: foo-svc -# port: 8080 +apiVersion: gateway.networking.k8s.io/v1beta1 +kind: HTTPRoute +metadata: + name: my-route + namespace: gateway-api-example-ns2 +spec: + parentRefs: + - kind: Gateway + name: foo-gateway + namespace: gateway-api-example-ns1 + rules: + - backendRefs: + - name: foo-svc + port: 8080