forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pick up gateway rc2 * new test * initial attempt * working * address comments
- Loading branch information
1 parent
199f76a
commit 9c69544
Showing
10 changed files
with
729 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
242 changes: 242 additions & 0 deletions
242
pilot/pkg/config/kube/gateway/testdata/isolation.status.yaml.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: Gateway | ||
metadata: | ||
creationTimestamp: null | ||
name: isolation | ||
namespace: gateway-conformance-infra | ||
spec: null | ||
status: | ||
conditions: | ||
- lastTransitionTime: fake | ||
message: Resource accepted | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: 'Failed to assign to any requested addresses: hostname "isolation-istio.gateway-conformance-infra.svc.domain.suffix" | ||
not found' | ||
reason: AddressNotUsable | ||
status: "False" | ||
type: Programmed | ||
listeners: | ||
- attachedRoutes: 1 | ||
conditions: | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: NoConflicts | ||
status: "False" | ||
type: Conflicted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Programmed | ||
status: "True" | ||
type: Programmed | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: ResolvedRefs | ||
status: "True" | ||
type: ResolvedRefs | ||
name: empty-hostname | ||
supportedKinds: | ||
- group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
- group: gateway.networking.k8s.io | ||
kind: GRPCRoute | ||
- attachedRoutes: 1 | ||
conditions: | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: NoConflicts | ||
status: "False" | ||
type: Conflicted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Programmed | ||
status: "True" | ||
type: Programmed | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: ResolvedRefs | ||
status: "True" | ||
type: ResolvedRefs | ||
name: wildcard-example-com | ||
supportedKinds: | ||
- group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
- group: gateway.networking.k8s.io | ||
kind: GRPCRoute | ||
- attachedRoutes: 1 | ||
conditions: | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: NoConflicts | ||
status: "False" | ||
type: Conflicted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Programmed | ||
status: "True" | ||
type: Programmed | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: ResolvedRefs | ||
status: "True" | ||
type: ResolvedRefs | ||
name: wildcard-foo-example-com | ||
supportedKinds: | ||
- group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
- group: gateway.networking.k8s.io | ||
kind: GRPCRoute | ||
- attachedRoutes: 1 | ||
conditions: | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: NoConflicts | ||
status: "False" | ||
type: Conflicted | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: Programmed | ||
status: "True" | ||
type: Programmed | ||
- lastTransitionTime: fake | ||
message: No errors found | ||
reason: ResolvedRefs | ||
status: "True" | ||
type: ResolvedRefs | ||
name: abc-foo-example-com | ||
supportedKinds: | ||
- group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
- group: gateway.networking.k8s.io | ||
kind: GRPCRoute | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
creationTimestamp: null | ||
name: attaches-to-abc-foo-example-com-with-hostname-intersection | ||
namespace: gateway-conformance-infra | ||
spec: null | ||
status: | ||
parents: | ||
- conditions: | ||
- lastTransitionTime: fake | ||
message: Route was valid | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: backend(infra-backend-v1.gateway-conformance-infra.svc.domain.suffix) | ||
not found | ||
reason: BackendNotFound | ||
status: "False" | ||
type: ResolvedRefs | ||
controllerName: istio.io/gateway-controller | ||
parentRef: | ||
name: isolation | ||
namespace: gateway-conformance-infra | ||
sectionName: abc-foo-example-com | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
creationTimestamp: null | ||
name: attaches-to-empty-hostname-with-hostname-intersection | ||
namespace: gateway-conformance-infra | ||
spec: null | ||
status: | ||
parents: | ||
- conditions: | ||
- lastTransitionTime: fake | ||
message: Route was valid | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: backend(infra-backend-v1.gateway-conformance-infra.svc.domain.suffix) | ||
not found | ||
reason: BackendNotFound | ||
status: "False" | ||
type: ResolvedRefs | ||
controllerName: istio.io/gateway-controller | ||
parentRef: | ||
name: isolation | ||
namespace: gateway-conformance-infra | ||
sectionName: empty-hostname | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
creationTimestamp: null | ||
name: attaches-to-wildcard-example-com-with-hostname-intersection | ||
namespace: gateway-conformance-infra | ||
spec: null | ||
status: | ||
parents: | ||
- conditions: | ||
- lastTransitionTime: fake | ||
message: Route was valid | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: backend(infra-backend-v1.gateway-conformance-infra.svc.domain.suffix) | ||
not found | ||
reason: BackendNotFound | ||
status: "False" | ||
type: ResolvedRefs | ||
controllerName: istio.io/gateway-controller | ||
parentRef: | ||
name: isolation | ||
namespace: gateway-conformance-infra | ||
sectionName: wildcard-example-com | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1beta1 | ||
kind: HTTPRoute | ||
metadata: | ||
creationTimestamp: null | ||
name: attaches-to-wildcard-foo-example-com-with-hostname-intersection | ||
namespace: gateway-conformance-infra | ||
spec: null | ||
status: | ||
parents: | ||
- conditions: | ||
- lastTransitionTime: fake | ||
message: Route was valid | ||
reason: Accepted | ||
status: "True" | ||
type: Accepted | ||
- lastTransitionTime: fake | ||
message: backend(infra-backend-v1.gateway-conformance-infra.svc.domain.suffix) | ||
not found | ||
reason: BackendNotFound | ||
status: "False" | ||
type: ResolvedRefs | ||
controllerName: istio.io/gateway-controller | ||
parentRef: | ||
name: isolation | ||
namespace: gateway-conformance-infra | ||
sectionName: wildcard-foo-example-com | ||
--- |
Oops, something went wrong.