Files
higress/pkg/ingress/kube/gateway/istio/testdata/route-binding.yaml.golden
澄潭 f7a419770d upgrade to istio 1.19 (#1211)
Co-authored-by: CH3CHO <ch3cho@qq.com>
Co-authored-by: rinfx <893383980@qq.com>
2024-08-26 09:51:47 +08:00

214 lines
5.7 KiB
Plaintext

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/default.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-default
namespace: higress-system
spec:
servers:
- hosts:
- '*/*.domain.example'
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/foobar.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-foobar
namespace: higress-system
spec:
servers:
- hosts:
- '*/*.foobar.example'
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/same-namespace.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-same-namespace
namespace: higress-system
spec:
servers:
- hosts:
- higress-system/*.same-namespace.example
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/scope-route.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-scope-route
namespace: higress-system
spec:
servers:
- hosts:
- '*/*.scope-route.example'
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/namespace-selector.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-namespace-selector
namespace: higress-system
spec:
servers:
- hosts:
- group-namespace1/*.namespace-selector.example
- group-namespace2/*.namespace-selector.example
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/bind-all.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: bind-all-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- '*'
http:
- name: default/bind-all
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 85
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/bind-all.default,HTTPRoute/same-namespace-valid.higress-system
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: bind-all-1-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-foobar
hosts:
- '*'
http:
- name: default/bind-all
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 85
- name: same-namespace-valid
route:
- destination:
host: httpbin.higress-system.svc.domain.suffix
port:
number: 81
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/section-name-cross-namespace.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: section-name-cross-namespace-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-foobar
hosts:
- alpha.foobar.example
http:
- name: default/section-name-cross-namespace
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/bind-cross-namespace.group-namespace1,HTTPRoute/bind-cross-namespace.group-namespace2
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: bind-cross-namespace-0-istio-autogenerated-k8s-gateway
namespace: group-namespace1
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-namespace-selector
hosts:
- '*'
http:
- name: group-namespace1/bind-cross-namespace
route:
- destination:
host: httpbin.group-namespace1.svc.domain.suffix
port:
number: 86
- name: group-namespace2/bind-cross-namespace
route:
- destination:
host: httpbin.group-namespace2.svc.domain.suffix
port:
number: 87
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/same-namespace-valid.higress-system
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: same-namespace-valid-0-istio-autogenerated-k8s-gateway
namespace: higress-system
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-same-namespace
hosts:
- '*'
http:
- name: same-namespace-valid
route:
- destination:
host: httpbin.higress-system.svc.domain.suffix
port:
number: 81
---