mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 21:57:30 +08:00
132 lines
3.2 KiB
Plaintext
132 lines
3.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/passthrough.higress-system
|
|
creationTimestamp: null
|
|
name: gateway-istio-autogenerated-k8s-gateway-passthrough
|
|
namespace: higress-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/*'
|
|
port:
|
|
name: default
|
|
number: 34000
|
|
protocol: TLS
|
|
tls: {}
|
|
---
|
|
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/terminate.higress-system
|
|
creationTimestamp: null
|
|
name: gateway-istio-autogenerated-k8s-gateway-terminate
|
|
namespace: higress-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/domain.example'
|
|
port:
|
|
name: default
|
|
number: 34000
|
|
protocol: HTTPS
|
|
tls:
|
|
credentialName: kubernetes-gateway://higress-system/my-cert-http
|
|
mode: SIMPLE
|
|
---
|
|
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/terminate-mtls.higress-system
|
|
creationTimestamp: null
|
|
name: gateway-istio-autogenerated-k8s-gateway-terminate-mtls
|
|
namespace: higress-system
|
|
spec:
|
|
servers:
|
|
- hosts:
|
|
- '*/other.example'
|
|
port:
|
|
name: default
|
|
number: 34000
|
|
protocol: HTTPS
|
|
tls:
|
|
credentialName: kubernetes-gateway://higress-system/my-cert-http
|
|
mode: MUTUAL
|
|
---
|
|
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-terminate
|
|
hosts:
|
|
- domain.example
|
|
http:
|
|
- name: default/http
|
|
route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 80
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
annotations:
|
|
internal.istio.io/parents: TLSRoute/tls-match.default
|
|
internal.istio.io/route-semantics: gateway
|
|
creationTimestamp: null
|
|
name: tls-match-tls-0-istio-autogenerated-k8s-gateway
|
|
namespace: default
|
|
spec:
|
|
gateways:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-passthrough
|
|
hosts:
|
|
- foo.com
|
|
tls:
|
|
- match:
|
|
- sniHosts:
|
|
- foo.com
|
|
route:
|
|
- destination:
|
|
host: httpbin-foo.default.svc.domain.suffix
|
|
port:
|
|
number: 443
|
|
---
|
|
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:
|
|
- higress-system/gateway-istio-autogenerated-k8s-gateway-passthrough
|
|
hosts:
|
|
- '*'
|
|
tls:
|
|
- match:
|
|
- sniHosts:
|
|
- '*'
|
|
route:
|
|
- destination:
|
|
host: httpbin.default.svc.domain.suffix
|
|
port:
|
|
number: 443
|
|
---
|