From 57b00ed7e01d69b479307f3996fd7878cb985fbf Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Thu, 12 Oct 2023 12:49:29 -0700 Subject: [PATCH] Sets Default ResolvedRefs Status Condition (#1960) Sets Default ResolvedRefs Condition Signed-off-by: Daneyon Hansen --- .../translate/out/default-resources.all.yaml | 25 ++++++++++++ .../out/echo-gateway-api.cluster.yaml | 5 +++ .../translate/out/echo-gateway-api.route.json | 7 ++++ .../translate/out/invalid-envoyproxy.all.yaml | 25 ++++++++++++ .../out/rejected-http-route.route.yaml | 5 +++ .../translate/out/valid-envoyproxy.all.yaml | 25 ++++++++++++ ...nttrafficpolicy-status-conditions.out.yaml | 20 ++++++++++ .../testdata/disable-accesslog.out.yaml | 5 +++ .../envoypatchpolicy-cross-ns-target.out.yaml | 5 +++ ...oypatchpolicy-invalid-target-kind.out.yaml | 5 +++ .../testdata/envoypatchpolicy-valid.out.yaml | 5 +++ ...oxy-accesslog-file-json-no-format.out.yaml | 5 +++ .../envoyproxy-accesslog-file-json.out.yaml | 5 +++ ...voyproxy-accesslog-with-bad-sinks.out.yaml | 5 +++ .../testdata/envoyproxy-accesslog.out.yaml | 5 +++ .../testdata/envoyproxy-valid.out.yaml | 5 +++ ...th-extension-filter-invalid-group.out.yaml | 5 +++ ...ith-non-matching-extension-filter.out.yaml | 5 +++ ...with-unsupported-extension-filter.out.yaml | 5 +++ ...route-with-valid-extension-filter.out.yaml | 5 +++ ...-namespace-with-allowed-httproute.out.yaml | 5 +++ ...mespace-with-disallowed-httproute.out.yaml | 5 +++ ...way-with-addresses-with-ipaddress.out.yaml | 5 +++ ...valid-allowed-namespaces-selector.out.yaml | 5 +++ ...id-tls-configuration-invalid-mode.out.yaml | 5 +++ ...configuration-no-certificate-refs.out.yaml | 5 +++ ...ssing-allowed-namespaces-selector.out.yaml | 5 +++ ...h-listener-with-tcp-with-hostname.out.yaml | 5 +++ ...route-with-mismatch-port-protocol.out.yaml | 5 +++ ...h-tcproute-with-multiple-backends.out.yaml | 5 +++ ...with-tcproute-with-multiple-rules.out.yaml | 5 +++ ...her-namespace-allowed-by-refgrant.out.yaml | 5 +++ ...ith-tls-terminate-and-passthrough.out.yaml | 10 +++++ ...h-listener-with-udp-with-hostname.out.yaml | 5 +++ ...route-with-mismatch-port-protocol.out.yaml | 5 +++ ...h-udproute-with-multiple-backends.out.yaml | 5 +++ ...with-udproute-with-multiple-rules.out.yaml | 5 +++ ...-listener-with-unmatched-tcproute.out.yaml | 5 +++ ...-listener-with-unmatched-udproute.out.yaml | 5 +++ ...istener-with-unsupported-protocol.out.yaml | 5 +++ ...ith-same-algorithm-different-fqdn.out.yaml | 5 +++ ...-valid-multiple-tls-configuration.out.yaml | 5 +++ ...ener-with-valid-tls-configuration.out.yaml | 5 +++ ...with-preexisting-status-condition.out.yaml | 5 +++ ...-listener-with-multiple-tcproutes.out.yaml | 5 +++ ...-listener-with-multiple-udproutes.out.yaml | 5 +++ ...teway-with-stale-status-condition.out.yaml | 5 +++ ...listeners-on-same-tcp-or-tls-port.out.yaml | 10 +++++ ...th-two-listeners-on-same-udp-port.out.yaml | 10 +++++ ...d-tlsroute-same-hostname-and-port.out.yaml | 10 +++++ ...isteners-with-multiple-httproutes.out.yaml | 10 +++++ ...eners-with-same-port-and-hostname.out.yaml | 10 +++++ ...me-port-and-incompatible-protocol.out.yaml | 10 +++++ ...-with-same-port-http-tcp-protocol.out.yaml | 10 +++++ ...-with-same-port-http-udp-protocol.out.yaml | 10 +++++ ...s-with-tcproutes-with-sectionname.out.yaml | 10 +++++ ...ith-tcproutes-without-sectionname.out.yaml | 10 +++++ ...s-with-udproutes-with-sectionname.out.yaml | 10 +++++ ...ith-udproutes-without-sectionname.out.yaml | 10 +++++ .../grpcroute-with-header-match.out.yaml | 5 +++ ...ute-with-method-and-service-match.out.yaml | 5 +++ .../grpcroute-with-method-match.out.yaml | 5 +++ ...oute-with-request-header-modifier.out.yaml | 5 +++ .../grpcroute-with-service-match.out.yaml | 5 +++ ...grpcroute-with-valid-authenfilter.out.yaml | 5 +++ ...croute-with-valid-ratelimitfilter.out.yaml | 5 +++ ...way-with-more-different-listeners.out.yaml | 40 +++++++++++++++++++ ...ng-to-gateway-with-more-listeners.out.yaml | 40 +++++++++++++++++++ ...wo-listeners-with-different-ports.out.yaml | 10 +++++ ...ing-to-gateway-with-two-listeners.out.yaml | 10 +++++ .../httproute-attaching-to-gateway.out.yaml | 5 +++ ...taching-to-listener-matching-port.out.yaml | 5 +++ ...ner-on-gateway-with-two-listeners.out.yaml | 10 +++++ ...ner-with-serviceimport-backendref.out.yaml | 5 +++ .../httproute-attaching-to-listener.out.yaml | 5 +++ ...httproute-backend-request-timeout.out.yaml | 5 +++ ...ing-to-listener-non-matching-port.out.yaml | 5 +++ .../httproute-request-timeout.out.yaml | 5 +++ ...-multiple-backends-and-no-weights.out.yaml | 5 +++ ...ith-multiple-backends-and-weights.out.yaml | 5 +++ ...her-namespace-allowed-by-refgrant.out.yaml | 5 +++ ...her-namespace-allowed-by-refgrant.out.yaml | 5 +++ ...ith-distinct-sourcecidr-ratelimit.out.yaml | 5 +++ .../httproute-with-empty-matches.out.yaml | 5 +++ ...er-duplicate-add-multiple-filters.out.yaml | 5 +++ ...with-header-filter-duplicate-adds.out.yaml | 5 +++ ...duplicate-remove-multiple-filters.out.yaml | 5 +++ ...h-header-filter-duplicate-removes.out.yaml | 5 +++ ...header-filter-empty-header-values.out.yaml | 5 +++ ...-with-header-filter-empty-headers.out.yaml | 5 +++ ...ith-header-filter-invalid-headers.out.yaml | 5 +++ ...ute-with-header-filter-no-headers.out.yaml | 5 +++ ...th-header-filter-no-valid-headers.out.yaml | 5 +++ ...tproute-with-header-filter-remove.out.yaml | 5 +++ ...with-invalid-backend-ref-bad-port.out.yaml | 5 +++ ...invalid-backend-ref-invalid-group.out.yaml | 5 +++ ...-invalid-backend-ref-invalid-kind.out.yaml | 5 +++ ...-with-invalid-backend-ref-no-port.out.yaml | 5 +++ ...lid-backend-ref-no-service.import.out.yaml | 5 +++ ...th-invalid-backend-ref-no-service.out.yaml | 5 +++ ...lid-backendref-in-other-namespace.out.yaml | 5 +++ ...oute-with-invalid-ratelimitfilter.out.yaml | 5 +++ ...ute-with-mirror-filter-duplicates.out.yaml | 5 +++ ...route-with-mirror-filter-multiple.out.yaml | 5 +++ ...ith-mirror-filter-service-no-port.out.yaml | 5 +++ ...h-mirror-filter-service-not-found.out.yaml | 5 +++ .../httproute-with-mirror-filter.out.yaml | 5 +++ ...ith-non-existent-authenfilter-ref.out.yaml | 5 +++ ...ith-non-matching-authenfilter-ref.out.yaml | 5 +++ ...to-gateway-with-wildcard-hostname.out.yaml | 5 +++ ...ct-filter-full-path-replace-https.out.yaml | 5 +++ ...ute-with-redirect-filter-hostname.out.yaml | 5 +++ ...direct-filter-invalid-filter-type.out.yaml | 5 +++ ...th-redirect-filter-invalid-scheme.out.yaml | 5 +++ ...th-redirect-filter-invalid-status.out.yaml | 5 +++ ...ter-prefix-replace-with-port-http.out.yaml | 5 +++ ...-with-response-header-filter-adds.out.yaml | 5 +++ ...er-duplicate-add-multiple-filters.out.yaml | 5 +++ ...onse-header-filter-duplicate-adds.out.yaml | 5 +++ ...duplicate-remove-multiple-filters.out.yaml | 5 +++ ...e-header-filter-duplicate-removes.out.yaml | 5 +++ ...header-filter-empty-header-values.out.yaml | 5 +++ ...ponse-header-filter-empty-headers.out.yaml | 5 +++ ...nse-header-filter-invalid-headers.out.yaml | 5 +++ ...response-header-filter-no-headers.out.yaml | 5 +++ ...se-header-filter-no-valid-headers.out.yaml | 5 +++ ...ith-response-header-filter-remove.out.yaml | 5 +++ ...single-rule-with-exact-path-match.out.yaml | 5 +++ ...ingle-rule-with-http-method-match.out.yaml | 5 +++ ...h-single-rule-with-multiple-rules.out.yaml | 5 +++ ...h-prefix-and-exact-header-matches.out.yaml | 5 +++ ...e-invalid-backend-refs-no-service.out.yaml | 5 +++ ...tproute-with-sourcecidr-ratelimit.out.yaml | 5 +++ ...to-gateway-with-wildcard-hostname.out.yaml | 5 +++ ...to-gateway-with-wildcard-hostname.out.yaml | 5 +++ ...ite-filter-full-path-replace-http.out.yaml | 5 +++ ...te-filter-hostname-prefix-replace.out.yaml | 5 +++ ...e-with-urlrewrite-filter-hostname.out.yaml | 5 +++ ...ewrite-filter-invalid-filter-type.out.yaml | 5 +++ ...rlrewrite-filter-invalid-hostname.out.yaml | 5 +++ ...e-filter-invalid-multiple-filters.out.yaml | 5 +++ ...lrewrite-filter-invalid-path-type.out.yaml | 5 +++ ...th-urlrewrite-filter-invalid-path.out.yaml | 5 +++ ...th-urlrewrite-filter-missing-path.out.yaml | 5 +++ ...ewrite-filter-prefix-replace-http.out.yaml | 5 +++ ...httproute-with-valid-authenfilter.out.yaml | 5 +++ ...th-valid-multi-match-authenfilter.out.yaml | 5 +++ ...id-multi-match-multi-authenfilter.out.yaml | 5 +++ ...proute-with-valid-ratelimitfilter.out.yaml | 5 +++ ...ng-to-gateway-with-unset-hostname.out.yaml | 5 +++ .../httproutes-with-multiple-matches.out.yaml | 5 +++ ...teway-with-listener-tls-terminate.out.yaml | 5 +++ .../tlsroute-attaching-to-gateway.out.yaml | 5 +++ .../testdata/tlsroute-multiple.out.yaml | 5 +++ ...attaching-to-gateway-with-no-mode.out.yaml | 5 +++ ...her-namespace-allowed-by-refgrant.out.yaml | 5 +++ .../tlsroute-with-empty-hostname.out.yaml | 5 +++ ...oute-with-empty-listener-hostname.out.yaml | 5 +++ ...er-both-passthrough-and-cert-data.out.yaml | 5 +++ internal/gatewayapi/validate.go | 24 ++++++++--- 160 files changed, 1041 insertions(+), 5 deletions(-) diff --git a/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml b/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml index 8e8bf7e6c08..4b7eb8754f3 100644 --- a/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/default-resources.all.yaml @@ -180,6 +180,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io @@ -196,6 +201,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io @@ -212,6 +222,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-passthrough supportedKinds: - group: gateway.networking.k8s.io @@ -228,6 +243,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -244,6 +264,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: grpc supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.cluster.yaml b/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.cluster.yaml index c4807cbe030..c61a2fdf774 100644 --- a/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.cluster.yaml +++ b/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.cluster.yaml @@ -37,6 +37,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.route.json b/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.route.json index 909a625b783..41dfd6683e7 100644 --- a/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.route.json +++ b/internal/cmd/egctl/testdata/translate/out/echo-gateway-api.route.json @@ -66,6 +66,13 @@ "lastTransitionTime": null, "reason": "Accepted", "message": "Listener has been successfully translated" + }, + { + "type": "ResolvedRefs", + "status": "True", + "lastTransitionTime": null, + "reason": "ResolvedRefs", + "message": "Listener references have been resolved" } ] } diff --git a/internal/cmd/egctl/testdata/translate/out/invalid-envoyproxy.all.yaml b/internal/cmd/egctl/testdata/translate/out/invalid-envoyproxy.all.yaml index 31db45564c6..e2450039056 100644 --- a/internal/cmd/egctl/testdata/translate/out/invalid-envoyproxy.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/invalid-envoyproxy.all.yaml @@ -87,6 +87,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io @@ -103,6 +108,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io @@ -119,6 +129,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-passthrough supportedKinds: - group: gateway.networking.k8s.io @@ -135,6 +150,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -151,6 +171,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: grpc supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/cmd/egctl/testdata/translate/out/rejected-http-route.route.yaml b/internal/cmd/egctl/testdata/translate/out/rejected-http-route.route.yaml index ebcd5ab0b10..1cf2dc126c2 100644 --- a/internal/cmd/egctl/testdata/translate/out/rejected-http-route.route.yaml +++ b/internal/cmd/egctl/testdata/translate/out/rejected-http-route.route.yaml @@ -32,6 +32,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/cmd/egctl/testdata/translate/out/valid-envoyproxy.all.yaml b/internal/cmd/egctl/testdata/translate/out/valid-envoyproxy.all.yaml index 0ae635f98b0..9a965a9e469 100644 --- a/internal/cmd/egctl/testdata/translate/out/valid-envoyproxy.all.yaml +++ b/internal/cmd/egctl/testdata/translate/out/valid-envoyproxy.all.yaml @@ -80,6 +80,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io @@ -96,6 +101,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io @@ -112,6 +122,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-passthrough supportedKinds: - group: gateway.networking.k8s.io @@ -128,6 +143,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -144,6 +164,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: grpc supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml b/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml index 892d3cc63d6..d030eb12e20 100644 --- a/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml +++ b/internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml @@ -154,6 +154,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -201,6 +206,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -214,6 +224,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: https supportedKinds: - group: gateway.networking.k8s.io @@ -232,6 +247,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/disable-accesslog.out.yaml b/internal/gatewayapi/testdata/disable-accesslog.out.yaml index e48c7496822..ec01a484b4d 100644 --- a/internal/gatewayapi/testdata/disable-accesslog.out.yaml +++ b/internal/gatewayapi/testdata/disable-accesslog.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml index 52ea692fbde..4ac0382ce13 100755 --- a/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-cross-ns-target.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml index 17fb062c207..7b529d50c24 100755 --- a/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-invalid-target-kind.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml b/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml index 06fc756204e..2e1b5d6bac6 100644 --- a/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml +++ b/internal/gatewayapi/testdata/envoypatchpolicy-valid.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml index 05e9014d813..84b6557c506 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json-no-format.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml index b92045bbb6d..65b9d535310 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-file-json.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml index aaeac81b464..dbcbe9ea13e 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog-with-bad-sinks.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml b/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml index 4d92a21ef33..428d4340028 100644 --- a/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml b/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml index f7dd4781ab2..673cbe12f0b 100644 --- a/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml +++ b/internal/gatewayapi/testdata/envoyproxy-valid.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml index 6cb42b8480a..6ecb01dfb98 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-extension-filter-invalid-group.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml index 58be9d1583b..205db04c086 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-non-matching-extension-filter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml index 306004acac6..a51df87b71b 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-unsupported-extension-filter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml b/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml index 618a1d0d43b..c1f3d41a8f6 100644 --- a/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml +++ b/internal/gatewayapi/testdata/extensions/httproute-with-valid-extension-filter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml index e4032539fcd..8541964e902 100644 --- a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-allowed-httproute.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml index e5741015029..f29f5ba0406 100644 --- a/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-allows-same-namespace-with-disallowed-httproute.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml b/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml index bd6fa4c9d37..f3db4d0d9c8 100644 --- a/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-addresses-with-ipaddress.out.yaml @@ -32,6 +32,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml index a5ff0f7fd11..37ed3d958cd 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-allowed-namespaces-selector.out.yaml @@ -31,6 +31,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml index 02bfac71a4c..2384e905387 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-invalid-mode.out.yaml @@ -30,6 +30,11 @@ gateways: reason: UnsupportedTLSMode status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml index 031633dc5a7..ca98be39b47 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-invalid-tls-configuration-no-certificate-refs.out.yaml @@ -25,6 +25,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml index 350d400c6c1..4ea7458ce24 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-missing-allowed-namespaces-selector.out.yaml @@ -24,6 +24,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml index 8f26e8bea8e..9210e3216bf 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcp-with-hostname.out.yaml @@ -24,6 +24,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml index 273b92ef18e..c071a6c9db6 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-mismatch-port-protocol.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml index 3e89dd2c013..f65335f942e 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-backends.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml index 1d4c80ca131..2a8ef28ea44 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tcproute-with-multiple-rules.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml index a34051d1034..65a9f6bc7c2 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-secret-in-other-namespace-allowed-by-refgrant.out.yaml @@ -35,6 +35,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml index 355f5f857cc..7e746a06fa3 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-tls-terminate-and-passthrough.out.yaml @@ -44,6 +44,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-passthrough supportedKinds: - group: gateway.networking.k8s.io @@ -60,6 +65,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-terminate supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml index e537dfd6acc..458b291eda3 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udp-with-hostname.out.yaml @@ -24,6 +24,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml index 9d113ae74e7..73baed8dc13 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-mismatch-port-protocol.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml index 8e913bbf902..991b675b511 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-backends.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml index 838561f4103..50e5b63fa60 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-udproute-with-multiple-rules.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml index ce090506b4a..32d5b2fdd7b 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-tcproute.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml index 6aba5cb0bfd..79c3c322757 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unmatched-udproute.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml index 64ca07aeec0..784cda8521b 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-unsupported-protocol.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: unsupported supportedKinds: null httpRoutes: diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml index 1e91e99f204..09027d99136 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration-with-same-algorithm-different-fqdn.out.yaml @@ -37,6 +37,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml index 7a504fb560f..7a18c6de510 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-multiple-tls-configuration.out.yaml @@ -37,6 +37,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml index e9b15ce959e..55c5e7a1dd4 100644 --- a/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-listener-with-valid-tls-configuration.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml b/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml index 73487f3d96b..aafd8dc810c 100644 --- a/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-preexisting-status-condition.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml index c648bebbdf8..bd37e9d93b6 100644 --- a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-tcproutes.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml index c0361ce242a..2e4de3be4f9 100644 --- a/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-single-listener-with-multiple-udproutes.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml b/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml index 1ab19762f99..63cd4da8049 100644 --- a/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-stale-status-condition.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: https supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml index bec37819a57..e0192da49b8 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-tcp-or-tls-port.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml index d916ff5602d..fd71697a94e 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-on-same-udp-port.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml index 7354c4bca16..a04318ffb34 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-http-and-tlsroute-same-hostname-and-port.out.yaml @@ -38,6 +38,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -56,6 +61,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls-1 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml index 8d822f80ba1..b2a94a36e49 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-multiple-httproutes.out.yaml @@ -36,6 +36,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -54,6 +59,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml index 1db35a718b7..fe1c076d695 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-hostname.out.yaml @@ -36,6 +36,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -54,6 +59,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml index bf38a499518..ec3264e73cd 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-and-incompatible-protocol.out.yaml @@ -36,6 +36,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -54,6 +59,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml index a48bfe50fa3..5c3c6546a73 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-tcp-protocol.out.yaml @@ -35,6 +35,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -53,6 +58,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml index dfc68051cfc..e97c1579df6 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-same-port-http-udp-protocol.out.yaml @@ -35,6 +35,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -53,6 +58,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml index 7af3f7bd81d..78baeac5313 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-with-sectionname.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml index b51530c3600..a3715a50666 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-tcproutes-without-sectionname.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tcp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml index f027afc2c88..1f6c63c0242 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-with-sectionname.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml index feb8c640b57..4700a880360 100644 --- a/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml +++ b/internal/gatewayapi/testdata/gateway-with-two-listeners-with-udproutes-without-sectionname.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp1 supportedKinds: - group: gateway.networking.k8s.io @@ -50,6 +55,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: udp2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml index 26b44fc07f9..c04a8944b9f 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-header-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml index 8220b9e7863..4b8aa0f5737 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-method-and-service-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml index ce8d394efd3..488a7e19f48 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-method-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml index 51002832177..4778608be30 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-request-header-modifier.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml index d970c4c9256..93c18221bd8 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-service-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-valid-authenfilter.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-valid-authenfilter.out.yaml index ea2185e046c..d84abac1fbd 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-valid-authenfilter.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-valid-authenfilter.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/grpcroute-with-valid-ratelimitfilter.out.yaml b/internal/gatewayapi/testdata/grpcroute-with-valid-ratelimitfilter.out.yaml index b3d1950fa63..71b7921f9b0 100644 --- a/internal/gatewayapi/testdata/grpcroute-with-valid-ratelimitfilter.out.yaml +++ b/internal/gatewayapi/testdata/grpcroute-with-valid-ratelimitfilter.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml index 4e53a883ae4..fc0ea56e303 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-different-listeners.out.yaml @@ -78,6 +78,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -96,6 +101,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io @@ -114,6 +124,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-3 supportedKinds: - group: gateway.networking.k8s.io @@ -132,6 +147,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-4 supportedKinds: - group: gateway.networking.k8s.io @@ -150,6 +170,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-5 supportedKinds: - group: gateway.networking.k8s.io @@ -168,6 +193,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-6 supportedKinds: - group: gateway.networking.k8s.io @@ -186,6 +216,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-7 supportedKinds: - group: gateway.networking.k8s.io @@ -204,6 +239,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-8 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml index d33412d990d..d78427b642e 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-more-listeners.out.yaml @@ -78,6 +78,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -96,6 +101,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io @@ -114,6 +124,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-3 supportedKinds: - group: gateway.networking.k8s.io @@ -132,6 +147,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-4 supportedKinds: - group: gateway.networking.k8s.io @@ -150,6 +170,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-5 supportedKinds: - group: gateway.networking.k8s.io @@ -168,6 +193,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-6 supportedKinds: - group: gateway.networking.k8s.io @@ -186,6 +216,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-7 supportedKinds: - group: gateway.networking.k8s.io @@ -204,6 +239,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-8 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml index c05bf673d45..ee3af2fc22b 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners-with-different-ports.out.yaml @@ -40,6 +40,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io @@ -58,6 +63,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml index 0e36ca91617..57fef257e9a 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway-with-two-listeners.out.yaml @@ -36,6 +36,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -54,6 +59,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml index 010941491ad..0ff593eef5f 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-gateway.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml index ab9139338cb..aae1c295212 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-matching-port.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml index 841cf1e06ef..49c5c6a6378 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-on-gateway-with-two-listeners.out.yaml @@ -36,6 +36,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io @@ -54,6 +59,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-2 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml index 3955d2f5a31..28662768177 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener-with-serviceimport-backendref.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml b/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml index aa6e80ae6a0..a24ce596311 100644 --- a/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml +++ b/internal/gatewayapi/testdata/httproute-attaching-to-listener.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml b/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml index f8a3ebaff51..d11214ba602 100755 --- a/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml +++ b/internal/gatewayapi/testdata/httproute-backend-request-timeout.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml b/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml index 48977213c42..83f680c2035 100644 --- a/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-not-attaching-to-listener-non-matching-port.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http-1 supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml b/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml index 436b26e3dca..253cbb92c61 100644 --- a/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml +++ b/internal/gatewayapi/testdata/httproute-request-timeout.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml index fb8e8055e64..c156e4b0b0e 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-no-weights.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml index 8c53d2518a0..73341f78699 100644 --- a/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml +++ b/internal/gatewayapi/testdata/httproute-rule-with-multiple-backends-and-weights.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml index 5bf1510e7d4..cd3d01036e1 100644 --- a/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml index ffd75c7e9f3..7e86c1bef82 100644 --- a/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-backendref-serviceimport-in-other-namespace-allowed-by-refgrant.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-distinct-sourcecidr-ratelimit.out.yaml b/internal/gatewayapi/testdata/httproute-with-distinct-sourcecidr-ratelimit.out.yaml index c1dab6ad83d..294b55ec0ca 100644 --- a/internal/gatewayapi/testdata/httproute-with-distinct-sourcecidr-ratelimit.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-distinct-sourcecidr-ratelimit.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml b/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml index dc9d4b890be..ceac0578a8c 100644 --- a/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-empty-matches.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml index 8ef3bfb98e5..d129f5cc21d 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml index 74c651b91b0..0a08fe285ce 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml index 0694bf0a016..3a21a4c48e1 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml index 81543b42ba2..168e4a8ffb9 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml index 4e6cebd6a76..f77e614c698 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-header-values.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml index f8959f3325a..9878d2af780 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml index 42d01206c05..7816357aa6c 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml index 2cd347a626c..abb49168f4c 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-no-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml index 6b63414fb98..83ba31aba95 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml b/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml index d1f36f117e1..b5c41eb7dc9 100644 --- a/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-header-filter-remove.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml index 0f194b156e3..0bda5f1f503 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-bad-port.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml index 1e52badafea..4acf16cb01d 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-group.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml index ab509018df6..6506717df8f 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-invalid-kind.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml index dc3eec8f35f..5e078ba2614 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-port.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml index 273eb8bf939..6b8cc0a4bcf 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.import.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml index 27a85dcc21c..bd5e0bf4173 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backend-ref-no-service.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml index 57045322049..0441329dd23 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-backendref-in-other-namespace.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-invalid-ratelimitfilter.out.yaml b/internal/gatewayapi/testdata/httproute-with-invalid-ratelimitfilter.out.yaml index aca06ffd49b..7b9bd1f3ab1 100644 --- a/internal/gatewayapi/testdata/httproute-with-invalid-ratelimitfilter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-invalid-ratelimitfilter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml index 9eb43928fee..75ed33c6593 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-duplicates.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml index 7516df816ed..7c205006aaa 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-multiple.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml index 5ae0a5b7854..89d54922f22 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-no-port.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml index 8047baed236..163b520efbb 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter-service-not-found.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml b/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml index bbba1ea6423..c86eea1c83e 100644 --- a/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-mirror-filter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-non-existent-authenfilter-ref.out.yaml b/internal/gatewayapi/testdata/httproute-with-non-existent-authenfilter-ref.out.yaml index c420d7a3ef1..b8928173cb3 100644 --- a/internal/gatewayapi/testdata/httproute-with-non-existent-authenfilter-ref.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-non-existent-authenfilter-ref.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-non-matching-authenfilter-ref.out.yaml b/internal/gatewayapi/testdata/httproute-with-non-matching-authenfilter-ref.out.yaml index fe5b1467ced..b3a78ad1129 100644 --- a/internal/gatewayapi/testdata/httproute-with-non-matching-authenfilter-ref.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-non-matching-authenfilter-ref.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml index 48a6b7d2ac7..9531cbf1449 100644 --- a/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-non-matching-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml index 987639b375c..fb6abc0382a 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-full-path-replace-https.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml index 44bd9a3d66a..a4b50604c43 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml index f40b5b4879b..ce288fdf647 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml index ca0ab708b80..b206db71c24 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml index ce8da17a08a..3715c30de2e 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml index 6f2f603ab30..e1b8f8f0795 100644 --- a/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-redirect-filter-prefix-replace-with-port-http.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml index 746ad631de1..e4c521a18ee 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-adds.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml index 26874bbaffb..a4d9aee56c4 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-add-multiple-filters.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml index a5e06494575..6328ed885bb 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-adds.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml index b6ca0f96259..de6da5623c0 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-remove-multiple-filters.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml index ca3edf5d58b..06d55576641 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-duplicate-removes.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml index 129e792f64d..afd96392f91 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-header-values.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml index 9743c18b702..3fad87ce52a 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-empty-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml index 659ac2f68aa..9975dabe0c4 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-invalid-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml index b4a3e08c508..16459263d6a 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml index 70eb6d8119e..c3d3259e899 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-no-valid-headers.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml b/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml index 8f7fee14d10..1077aa7cac8 100644 --- a/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-response-header-filter-remove.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml index 6d76e52fa62..a9b0e9bffeb 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-exact-path-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml index fbec041194a..2840399fc04 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-http-method-match.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml index 84a740b8ad2..f4a3498af5f 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-multiple-rules.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml b/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml index ab833bd62cc..0514ae06292 100644 --- a/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-single-rule-with-path-prefix-and-exact-header-matches.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml b/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml index f6eade4bb23..2b92be85bbb 100644 --- a/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-some-invalid-backend-refs-no-service.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-sourcecidr-ratelimit.out.yaml b/internal/gatewayapi/testdata/httproute-with-sourcecidr-ratelimit.out.yaml index 1e0473c2d2d..897139e8f19 100644 --- a/internal/gatewayapi/testdata/httproute-with-sourcecidr-ratelimit.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-sourcecidr-ratelimit.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml index 6bc9a95953e..729d5f3bfe1 100644 --- a/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-specific-hostname-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml index 1ab1904e485..4826d7bff70 100644 --- a/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-two-specific-hostnames-attaching-to-gateway-with-wildcard-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml index fd575a54c55..6661fb70ce8 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-full-path-replace-http.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml index 7e329a6b2f5..180f43a123d 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname-prefix-replace.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml index e7808a127fc..75a6a895889 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml index de3bb84fcd3..7761144afa9 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-filter-type.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml index c5aa3d6938b..63d1a94137f 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-hostname.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml index 607d3377fc1..7ca0f1c05d8 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-multiple-filters.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml index 9b343f3a519..36735a83130 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path-type.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml index 01f58b98374..ec36e84e67f 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-invalid-path.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml index 06180b84afa..79a11f36c04 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-missing-path.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml index d1cfccc8b93..2b039846e89 100644 --- a/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-urlrewrite-filter-prefix-replace-http.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-valid-authenfilter.out.yaml b/internal/gatewayapi/testdata/httproute-with-valid-authenfilter.out.yaml index c952bcabf04..8120012f896 100644 --- a/internal/gatewayapi/testdata/httproute-with-valid-authenfilter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-valid-authenfilter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-valid-multi-match-authenfilter.out.yaml b/internal/gatewayapi/testdata/httproute-with-valid-multi-match-authenfilter.out.yaml index ae7b2388f8c..47742e1f3ca 100644 --- a/internal/gatewayapi/testdata/httproute-with-valid-multi-match-authenfilter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-valid-multi-match-authenfilter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-valid-multi-match-multi-authenfilter.out.yaml b/internal/gatewayapi/testdata/httproute-with-valid-multi-match-multi-authenfilter.out.yaml index 1b5d6d538ac..01ef8b1283a 100644 --- a/internal/gatewayapi/testdata/httproute-with-valid-multi-match-multi-authenfilter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-valid-multi-match-multi-authenfilter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-valid-ratelimitfilter.out.yaml b/internal/gatewayapi/testdata/httproute-with-valid-ratelimitfilter.out.yaml index 2b7093a221f..5da00005568 100644 --- a/internal/gatewayapi/testdata/httproute-with-valid-ratelimitfilter.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-valid-ratelimitfilter.out.yaml @@ -29,6 +29,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml b/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml index b843dba60d0..27e12a73cd1 100644 --- a/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml +++ b/internal/gatewayapi/testdata/httproute-with-wildcard-hostname-attaching-to-gateway-with-unset-hostname.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml b/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml index cc9106e297b..8a0a25fe207 100644 --- a/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml +++ b/internal/gatewayapi/testdata/httproutes-with-multiple-matches.out.yaml @@ -28,6 +28,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: http supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml b/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml index dcd604268b4..4bf24e56fdc 100644 --- a/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml +++ b/internal/gatewayapi/testdata/tcproute-attaching-to-gateway-with-listener-tls-terminate.out.yaml @@ -34,6 +34,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml b/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml index 216b9f2dbbb..f7116969f2d 100644 --- a/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-attaching-to-gateway.out.yaml @@ -31,6 +31,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml b/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml index e2fe2cc51ea..1ab0a53f0a7 100644 --- a/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-multiple.out.yaml @@ -30,6 +30,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-not-attaching-to-gateway-with-no-mode.out.yaml b/internal/gatewayapi/testdata/tlsroute-not-attaching-to-gateway-with-no-mode.out.yaml index 64956827b81..f23f5631d37 100644 --- a/internal/gatewayapi/testdata/tlsroute-not-attaching-to-gateway-with-no-mode.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-not-attaching-to-gateway-with-no-mode.out.yaml @@ -23,6 +23,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml index 0e18813f8a1..4a800ecdff0 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-backendref-in-other-namespace-allowed-by-refgrant.out.yaml @@ -31,6 +31,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml index d2bec9ed008..7a4c2dd5c16 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-empty-hostname.out.yaml @@ -30,6 +30,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml index 7d03007f3b9..84a2283c2a6 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-empty-listener-hostname.out.yaml @@ -30,6 +30,11 @@ gateways: reason: Accepted status: "True" type: Accepted + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/testdata/tlsroute-with-listener-both-passthrough-and-cert-data.out.yaml b/internal/gatewayapi/testdata/tlsroute-with-listener-both-passthrough-and-cert-data.out.yaml index b3358757136..a0a84118f77 100644 --- a/internal/gatewayapi/testdata/tlsroute-with-listener-both-passthrough-and-cert-data.out.yaml +++ b/internal/gatewayapi/testdata/tlsroute-with-listener-both-passthrough-and-cert-data.out.yaml @@ -30,6 +30,11 @@ gateways: reason: Invalid status: "False" type: Programmed + - lastTransitionTime: null + message: Listener references have been resolved + reason: ResolvedRefs + status: "True" + type: ResolvedRefs name: tls supportedKinds: - group: gateway.networking.k8s.io diff --git a/internal/gatewayapi/validate.go b/internal/gatewayapi/validate.go index dc69f753419..913d62b937d 100644 --- a/internal/gatewayapi/validate.go +++ b/internal/gatewayapi/validate.go @@ -200,20 +200,25 @@ func (t *Translator) validateListenerConditions(listener *ListenerContext) (isRe "Sending translated listener configuration to the data plane") listener.SetCondition(v1beta1.ListenerConditionAccepted, metav1.ConditionTrue, v1beta1.ListenerReasonAccepted, "Listener has been successfully translated") + listener.SetCondition(v1beta1.ListenerConditionResolvedRefs, metav1.ConditionTrue, v1beta1.ListenerReasonResolvedRefs, + "Listener references have been resolved") return true } // Any condition on the listener apart from Programmed=true indicates an error. if !(lConditions[0].Type == string(v1beta1.ListenerConditionProgrammed) && lConditions[0].Status == metav1.ConditionTrue) { - // set "Programmed: false" if it's not set already. - var hasReadyCond bool + hasProgrammedCond := false + hasRefsCond := false for _, existing := range lConditions { if existing.Type == string(v1beta1.ListenerConditionProgrammed) { - hasReadyCond = true - break + hasProgrammedCond = true + } + if existing.Type == string(v1beta1.ListenerConditionResolvedRefs) { + hasRefsCond = true } } - if !hasReadyCond { + // set "Programmed: false" if it's not set already. + if !hasProgrammedCond { listener.SetCondition( v1beta1.ListenerConditionProgrammed, metav1.ConditionFalse, @@ -221,6 +226,15 @@ func (t *Translator) validateListenerConditions(listener *ListenerContext) (isRe "Listener is invalid, see other Conditions for details.", ) } + // set "ResolvedRefs: true" if it's not set already. + if !hasRefsCond { + listener.SetCondition( + v1beta1.ListenerConditionResolvedRefs, + metav1.ConditionTrue, + v1beta1.ListenerReasonResolvedRefs, + "Listener references have been resolved", + ) + } // skip computing IR return false }