apiVersion: gateway.networking.k8s.io/v1beta1
kind: GatewayClass
metadata:
  creationTimestamp: null
  name: istio
  namespace: default
spec: null
status:
  conditions:
  - lastTransitionTime: fake
    message: Handled by Istio controller
    reason: Accepted
    status: "True"
    type: Accepted
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  creationTimestamp: null
  name: gateway
  namespace: istio-system
spec: null
status:
  addresses:
  - type: IPAddress
    value: 1.2.3.4
  conditions:
  - lastTransitionTime: fake
    message: Gateway valid, assigned to service(s) istio-ingressgateway.istio-system.svc.domain.suffix:80
    reason: ListenersValid
    status: "True"
    type: Ready
  - lastTransitionTime: fake
    message: Resources available
    reason: ResourcesAvailable
    status: "True"
    type: Scheduled
  listeners:
  - attachedRoutes: 5
    conditions:
    - lastTransitionTime: fake
      message: No errors found
      reason: NoConflicts
      status: "False"
      type: Conflicted
    - lastTransitionTime: fake
      message: No errors found
      reason: Attached
      status: "False"
      type: Detached
    - lastTransitionTime: fake
      message: No errors found
      reason: Ready
      status: "True"
      type: Ready
    - lastTransitionTime: fake
      message: No errors found
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    name: default
    supportedKinds:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  creationTimestamp: null
  name: invalid-service
  namespace: istio-system
spec: null
status:
  conditions:
  - lastTransitionTime: fake
    message: 'failed to assign to any requested addresses: hostname "fake-service.com"
      not found'
    reason: AddressNotAssigned
    status: "False"
    type: Ready
  - lastTransitionTime: fake
    message: Resources available
    reason: ResourcesAvailable
    status: "True"
    type: Scheduled
  listeners:
  - attachedRoutes: 0
    conditions:
    - lastTransitionTime: fake
      message: No errors found
      reason: NoConflicts
      status: "False"
      type: Conflicted
    - lastTransitionTime: fake
      message: No errors found
      reason: Attached
      status: "False"
      type: Detached
    - lastTransitionTime: fake
      message: No errors found
      reason: Ready
      status: "True"
      type: Ready
    - lastTransitionTime: fake
      message: No errors found
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    name: default
    supportedKinds:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  creationTimestamp: null
  name: target-port-reference
  namespace: istio-system
spec: null
status:
  conditions:
  - lastTransitionTime: fake
    message: 'failed to assign to any requested addresses: port 8080 not found for
      hostname "istio-ingressgateway.istio-system.svc.domain.suffix" (hint: the service
      port should be specified, not the workload port. Did you mean one of these ports:
      [80]?)'
    reason: AddressNotAssigned
    status: "False"
    type: Ready
  - lastTransitionTime: fake
    message: Resources available
    reason: ResourcesAvailable
    status: "True"
    type: Scheduled
  listeners:
  - attachedRoutes: 0
    conditions:
    - lastTransitionTime: fake
      message: No errors found
      reason: NoConflicts
      status: "False"
      type: Conflicted
    - lastTransitionTime: fake
      message: No errors found
      reason: Attached
      status: "False"
      type: Detached
    - lastTransitionTime: fake
      message: No errors found
      reason: Ready
      status: "True"
      type: Ready
    - lastTransitionTime: fake
      message: No errors found
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    name: default
    supportedKinds:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  creationTimestamp: null
  name: invalid-gateway-address
  namespace: invalid-gateway-address
spec: null
status:
  conditions:
  - lastTransitionTime: fake
    message: 'failed to assign to any requested addresses: Only Hostname is supported,
      ignoring [1.2.3.4]'
    reason: AddressNotAssigned
    status: "False"
    type: Ready
  - lastTransitionTime: fake
    message: Resources available
    reason: ResourcesAvailable
    status: "True"
    type: Scheduled
  listeners:
  - attachedRoutes: 0
    conditions:
    - lastTransitionTime: fake
      message: No errors found
      reason: NoConflicts
      status: "False"
      type: Conflicted
    - lastTransitionTime: fake
      message: No errors found
      reason: Attached
      status: "False"
      type: Detached
    - lastTransitionTime: fake
      message: No errors found
      reason: Ready
      status: "True"
      type: Ready
    - lastTransitionTime: fake
      message: No errors found
      reason: ResolvedRefs
      status: "True"
      type: ResolvedRefs
    name: default
    supportedKinds:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  creationTimestamp: null
  name: invalid-tls
  namespace: istio-system
spec: null
status:
  conditions:
  - lastTransitionTime: fake
    message: 'Invalid listeners: [default]'
    reason: ListenersNotValid
    status: "False"
    type: Ready
  - lastTransitionTime: fake
    message: Resources available
    reason: ResourcesAvailable
    status: "True"
    type: Scheduled
  listeners:
  - attachedRoutes: 0
    conditions:
    - lastTransitionTime: fake
      message: No errors found
      reason: NoConflicts
      status: "False"
      type: Conflicted
    - lastTransitionTime: fake
      message: No errors found
      reason: Attached
      status: "False"
      type: Detached
    - lastTransitionTime: fake
      message: invalid certificate reference core/unknown/my-cert-http., only secret
        is allowed
      reason: InvalidCertificateRef
      status: "False"
      type: Ready
    - lastTransitionTime: fake
      message: invalid certificate reference core/unknown/my-cert-http., only secret
        is allowed
      reason: InvalidCertificateRef
      status: "False"
      type: ResolvedRefs
    name: default
    supportedKinds:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  creationTimestamp: null
  name: invalid-backendRef-kind
  namespace: default
spec: null
status:
  parents:
  - conditions:
    - lastTransitionTime: fake
      message: Route was valid
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: fake
      message: 'referencing unsupported backendRef: group "" kind "GcsBucket"'
      reason: InvalidKind
      status: "False"
      type: ResolvedRefs
    controllerName: istio.io/gateway-controller
    parentRef:
      name: gateway
      namespace: istio-system
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  creationTimestamp: null
  name: invalid-backendRef-mixed
  namespace: default
spec: null
status:
  parents:
  - conditions:
    - lastTransitionTime: fake
      message: Route was valid
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: fake
      message: 'referencing unsupported backendRef: group "" kind "GcsBucket"'
      reason: InvalidKind
      status: "False"
      type: ResolvedRefs
    controllerName: istio.io/gateway-controller
    parentRef:
      name: gateway
      namespace: istio-system
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  creationTimestamp: null
  name: invalid-backendRef-notfound
  namespace: default
spec: null
status:
  parents:
  - conditions:
    - lastTransitionTime: fake
      message: Route was valid
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: fake
      message: backend(nonexistent.default.svc.domain.suffix) not found
      reason: BackendNotFound
      status: "False"
      type: ResolvedRefs
    controllerName: istio.io/gateway-controller
    parentRef:
      name: gateway
      namespace: istio-system
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  creationTimestamp: null
  name: invalid-filter
  namespace: default
spec: null
status:
  parents:
  - conditions:
    - lastTransitionTime: fake
      message: Route was valid
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: fake
      message: unsupported filter type "ExtensionRef"
      reason: InvalidFilter
      status: "False"
      type: ResolvedRefs
    controllerName: istio.io/gateway-controller
    parentRef:
      name: gateway
      namespace: istio-system
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  creationTimestamp: null
  name: invalid-mirror
  namespace: default
spec: null
status:
  parents:
  - conditions:
    - lastTransitionTime: fake
      message: Route was valid
      reason: Accepted
      status: "True"
      type: Accepted
    - lastTransitionTime: fake
      message: 'referencing unsupported backendRef: group "" kind "no-support"'
      reason: InvalidKind
      status: "False"
      type: ResolvedRefs
    controllerName: istio.io/gateway-controller
    parentRef:
      name: gateway
      namespace: istio-system
---
