istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/invalid.yaml.golden (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 annotations: 5 internal.istio.io/gateway-semantics: gateway 6 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 7 internal.istio.io/parents: Gateway/gateway/default.istio-system 8 creationTimestamp: null 9 name: gateway-istio-autogenerated-k8s-gateway-default 10 namespace: istio-system 11 spec: 12 servers: 13 - hosts: 14 - '*/*.domain.example' 15 port: 16 name: default 17 number: 80 18 protocol: HTTP 19 --- 20 apiVersion: networking.istio.io/v1alpha3 21 kind: Gateway 22 metadata: 23 annotations: 24 internal.istio.io/gateway-semantics: gateway 25 internal.istio.io/gateway-service: fake-service.com 26 internal.istio.io/parents: Gateway/invalid-service/default.istio-system 27 creationTimestamp: null 28 name: invalid-service-istio-autogenerated-k8s-gateway-default 29 namespace: istio-system 30 spec: 31 servers: 32 - hosts: 33 - istio-system/*.example 34 port: 35 name: default 36 number: 80 37 protocol: HTTP 38 --- 39 apiVersion: networking.istio.io/v1alpha3 40 kind: Gateway 41 metadata: 42 annotations: 43 internal.istio.io/gateway-semantics: gateway 44 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 45 internal.istio.io/parents: Gateway/target-port-reference/default.istio-system 46 creationTimestamp: null 47 name: target-port-reference-istio-autogenerated-k8s-gateway-default 48 namespace: istio-system 49 spec: 50 servers: 51 - hosts: 52 - istio-system/*.example 53 port: 54 name: default 55 number: 8080 56 protocol: HTTP 57 --- 58 apiVersion: networking.istio.io/v1alpha3 59 kind: VirtualService 60 metadata: 61 annotations: 62 internal.istio.io/parents: HTTPRoute/invalid-backendRef-kind.default 63 internal.istio.io/route-semantics: gateway 64 creationTimestamp: null 65 name: invalid-backendRef-kind-0-istio-autogenerated-k8s-gateway 66 namespace: default 67 spec: 68 gateways: 69 - istio-system/gateway-istio-autogenerated-k8s-gateway-default 70 hosts: 71 - first.domain.example 72 http: 73 - name: default.invalid-backendRef-kind.0 74 route: 75 - destination: {} 76 --- 77 apiVersion: networking.istio.io/v1alpha3 78 kind: VirtualService 79 metadata: 80 annotations: 81 internal.istio.io/parents: HTTPRoute/invalid-backendRef-mixed.default 82 internal.istio.io/route-semantics: gateway 83 creationTimestamp: null 84 name: invalid-backendRef-mixed-0-istio-autogenerated-k8s-gateway 85 namespace: default 86 spec: 87 gateways: 88 - istio-system/gateway-istio-autogenerated-k8s-gateway-default 89 hosts: 90 - third.domain.example 91 http: 92 - name: default.invalid-backendRef-mixed.0 93 route: 94 - destination: 95 host: nonexistent.default.svc.domain.suffix 96 port: 97 number: 80 98 weight: 1 99 - destination: 100 host: httpbin.default.svc.domain.suffix 101 port: 102 number: 80 103 weight: 1 104 - destination: {} 105 weight: 1 106 --- 107 apiVersion: networking.istio.io/v1alpha3 108 kind: VirtualService 109 metadata: 110 annotations: 111 internal.istio.io/parents: HTTPRoute/invalid-backendRef-notfound.default 112 internal.istio.io/route-semantics: gateway 113 creationTimestamp: null 114 name: invalid-backendRef-notfound-0-istio-autogenerated-k8s-gateway 115 namespace: default 116 spec: 117 gateways: 118 - istio-system/gateway-istio-autogenerated-k8s-gateway-default 119 hosts: 120 - second.domain.example 121 http: 122 - name: default.invalid-backendRef-notfound.0 123 route: 124 - destination: 125 host: nonexistent.default.svc.domain.suffix 126 port: 127 number: 80 128 --- 129 apiVersion: networking.istio.io/v1alpha3 130 kind: VirtualService 131 metadata: 132 annotations: 133 internal.istio.io/parents: HTTPRoute/no-backend.default 134 internal.istio.io/route-semantics: gateway 135 creationTimestamp: null 136 name: no-backend-0-istio-autogenerated-k8s-gateway 137 namespace: default 138 spec: 139 gateways: 140 - mesh 141 hosts: 142 - httpbin.default.svc.domain.suffix 143 http: 144 - directResponse: 145 status: 500 146 mirrors: 147 - destination: 148 host: httpbin.default.svc.domain.suffix 149 port: 150 number: 80 151 name: default.no-backend.0 152 ---