Files
higress/pkg/ingress/kube/gateway/istio/testdata/reference-policy-tls.yaml.golden
2025-11-26 10:15:00 +08:00

44 lines
1.2 KiB
Plaintext

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-semantics: gateway
internal.istio.io/gateway-service: higress-gateway.higress-system.svc.domain.suffix
internal.istio.io/parents: Gateway/gateway/cross.higress-system
internal.istio.io/service-account-name: ""
name: gateway-istio-autogenerated-k8s-gateway-cross
namespace: higress-system
spec:
servers:
- hosts:
- cert/cert1.domain.example
port:
name: default
number: 443
protocol: HTTPS
tls:
credentialName: kubernetes-gateway://cert/cert
mode: SIMPLE
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parents: HTTPRoute/http.cert
internal.istio.io/route-semantics: gateway
name: higress-system~gateway-istio-autogenerated-k8s-gateway-cross~cert1.domain.example
namespace: cert
spec:
gateways:
- higress-system/gateway-istio-autogenerated-k8s-gateway-cross
hosts:
- cert1.domain.example
http:
- name: cert/http
route:
- destination:
host: httpbin.cert.svc.domain.suffix
port:
number: 80
---