istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/reference-policy-tcp.status.yaml.golden (about) 1 apiVersion: gateway.networking.k8s.io/v1beta1 2 kind: Gateway 3 metadata: 4 creationTimestamp: null 5 name: gateway 6 namespace: istio-system 7 spec: null 8 status: 9 addresses: 10 - type: IPAddress 11 value: 1.2.3.4 12 conditions: 13 - lastTransitionTime: fake 14 message: Resource accepted 15 reason: Accepted 16 status: "True" 17 type: Accepted 18 - lastTransitionTime: fake 19 message: Resource programmed, assigned to service(s) istio-ingressgateway.istio-system.svc.domain.suffix:34000 20 and istio-ingressgateway.istio-system.svc.domain.suffix:34001 21 reason: Programmed 22 status: "True" 23 type: Programmed 24 listeners: 25 - attachedRoutes: 1 26 conditions: 27 - lastTransitionTime: fake 28 message: No errors found 29 reason: Accepted 30 status: "True" 31 type: Accepted 32 - lastTransitionTime: fake 33 message: No errors found 34 reason: NoConflicts 35 status: "False" 36 type: Conflicted 37 - lastTransitionTime: fake 38 message: No errors found 39 reason: Programmed 40 status: "True" 41 type: Programmed 42 - lastTransitionTime: fake 43 message: No errors found 44 reason: ResolvedRefs 45 status: "True" 46 type: ResolvedRefs 47 name: my-svc 48 supportedKinds: 49 - group: gateway.networking.k8s.io 50 kind: TCPRoute 51 - attachedRoutes: 1 52 conditions: 53 - lastTransitionTime: fake 54 message: No errors found 55 reason: Accepted 56 status: "True" 57 type: Accepted 58 - lastTransitionTime: fake 59 message: No errors found 60 reason: NoConflicts 61 status: "False" 62 type: Conflicted 63 - lastTransitionTime: fake 64 message: No errors found 65 reason: Programmed 66 status: "True" 67 type: Programmed 68 - lastTransitionTime: fake 69 message: No errors found 70 reason: ResolvedRefs 71 status: "True" 72 type: ResolvedRefs 73 name: echo 74 supportedKinds: 75 - group: gateway.networking.k8s.io 76 kind: TCPRoute 77 --- 78 apiVersion: gateway.networking.k8s.io/v1alpha2 79 kind: TCPRoute 80 metadata: 81 creationTimestamp: null 82 name: allowed-my-svc 83 namespace: istio-system 84 spec: null 85 status: 86 parents: 87 - conditions: 88 - lastTransitionTime: fake 89 message: Route was valid 90 reason: Accepted 91 status: "True" 92 type: Accepted 93 - lastTransitionTime: fake 94 message: All references resolved 95 reason: ResolvedRefs 96 status: "True" 97 type: ResolvedRefs 98 controllerName: istio.io/gateway-controller 99 parentRef: 100 name: gateway 101 namespace: istio-system 102 sectionName: my-svc 103 --- 104 apiVersion: gateway.networking.k8s.io/v1alpha2 105 kind: TCPRoute 106 metadata: 107 creationTimestamp: null 108 name: not-allowed-echo 109 namespace: istio-system 110 spec: null 111 status: 112 parents: 113 - conditions: 114 - lastTransitionTime: fake 115 message: Route was valid 116 reason: Accepted 117 status: "True" 118 type: Accepted 119 - lastTransitionTime: fake 120 message: backendRef echo/default not accessible to a TCPRoute in namespace "istio-system" 121 (missing a ReferenceGrant?) 122 reason: RefNotPermitted 123 status: "False" 124 type: ResolvedRefs 125 controllerName: istio.io/gateway-controller 126 parentRef: 127 name: gateway 128 namespace: istio-system 129 sectionName: echo 130 ---