mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 22:57:31 +08:00
Feat: upgrade istio from 1.19.5 to 1.27.1 (#3066)
This commit is contained in:
261
pkg/ingress/kube/gateway/istio/testdata/mesh.yaml.golden
vendored
Normal file
261
pkg/ingress/kube/gateway/istio/testdata/mesh.yaml.golden
vendored
Normal file
@@ -0,0 +1,261 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: Gateway
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/gateway-semantics: gateway
|
||||
internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
|
||||
internal.istio.io/parents: Gateway/gateway/default.istio-system
|
||||
creationTimestamp: null
|
||||
name: gateway-istio-autogenerated-k8s-gateway-default
|
||||
namespace: istio-system
|
||||
spec:
|
||||
servers:
|
||||
- hosts:
|
||||
- '*/*.example.com'
|
||||
port:
|
||||
name: default
|
||||
number: 80
|
||||
protocol: HTTP
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/multi-service.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~8080~echo-1.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-1.default.svc.domain.suffix
|
||||
http:
|
||||
- match:
|
||||
- port: 8080
|
||||
name: default/multi-service
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/multi-service.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~80~echo-1.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-1.default.svc.domain.suffix
|
||||
http:
|
||||
- match:
|
||||
- port: 80
|
||||
name: default/multi-service
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/echo-port.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~80~echo-port.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-port.default.svc.domain.suffix
|
||||
http:
|
||||
- match:
|
||||
- port: 80
|
||||
name: default/echo-port
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/consumer-override.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~80~httpbin-apple.apple.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- httpbin-apple.apple.svc.domain.suffix
|
||||
http:
|
||||
- match:
|
||||
- port: 80
|
||||
name: default/consumer-override
|
||||
route:
|
||||
- destination:
|
||||
host: httpbin-apple.apple.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/multi-service.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~echo-2.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-2.default.svc.domain.suffix
|
||||
http:
|
||||
- name: default/multi-service
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/echo.default,HTTPRoute/header.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~echo.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo.default.svc.domain.suffix
|
||||
http:
|
||||
- headers:
|
||||
request:
|
||||
add:
|
||||
my-added-header: added-value
|
||||
match:
|
||||
- uri:
|
||||
prefix: /path
|
||||
name: default/header
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
- name: default/echo
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/dual.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: default~example.default.svc.domain.suffix
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- example.default.svc.domain.suffix
|
||||
http:
|
||||
- name: default/dual
|
||||
route:
|
||||
- destination:
|
||||
host: example.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/dual.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: istio-system~gateway-istio-autogenerated-k8s-gateway-default~foo.example.com
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- istio-system/gateway-istio-autogenerated-k8s-gateway-default
|
||||
hosts:
|
||||
- foo.example.com
|
||||
http:
|
||||
- name: default/dual
|
||||
route:
|
||||
- destination:
|
||||
host: example.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: TCPRoute/tcp.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: tcp-tcp-0-istio-autogenerated-k8s-gateway
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-1.default.svc.domain.suffix
|
||||
tcp:
|
||||
- route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: TLSRoute/tls.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
creationTimestamp: null
|
||||
name: tls-tls-0-istio-autogenerated-k8s-gateway
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- mesh
|
||||
hosts:
|
||||
- echo-1.default.svc.domain.suffix
|
||||
tls:
|
||||
- match:
|
||||
- sniHosts:
|
||||
- echo-1.default.svc.domain.suffix
|
||||
route:
|
||||
- destination:
|
||||
host: echo.default.svc.domain.suffix
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
Reference in New Issue
Block a user