Files
higress/pkg/ingress/kube/gateway/istio/testdata/zero.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

94 lines
2.2 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/tcp.higress-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-tcp
namespace: higress-system
spec:
servers:
- hosts:
- '*/*'
port:
name: default
number: 34000
protocol: TCP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/http.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: http-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- first.domain.example
http:
- match:
- uri:
prefix: /weighted-100
name: default/http
route:
- destination:
host: foo-svc.default.svc.domain.suffix
port:
number: 8000
headers:
request:
add:
foo: bar
- directResponse:
status: 500
match:
- uri:
prefix: /get
name: default/http
---
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-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-tcp
hosts:
- '*'
tcp:
- route:
- destination:
host: internal.cluster.local
port:
number: 65535
subset: zero-weight
---