Skip to content

Commit

Permalink
test:revert: temporary disable extra fields in Karaf deserializer tes…
Browse files Browse the repository at this point in the history
…t (4368)

This reverts commit 45eb12a.
  • Loading branch information
manusa authored Nov 12, 2024
1 parent c8a29b3 commit 164ee71
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void canDeserializeModelsFromDifferentKubernetesModules() {
final List<HasMetadata> result = kubernetesClient.load(
KubernetesDeserializerTest.class.getResourceAsStream("/deserializer_test.yaml")).items();
// Then
assertEquals(22, result.size());
assertEquals(23, result.size());
assertResourceTypes(result);
}

Expand Down
28 changes: 14 additions & 14 deletions platforms/karaf/itests/src/test/resources/deserializer_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 164ee71

Please sign in to comment.