sigs.k8s.io/gateway-api@v1.0.0/examples/standard/wildcard-tls-gateway.yaml (about)

     1  #$ Used in:
     2  #$ - site-src/guides/tls.md
     3  apiVersion: gateway.networking.k8s.io/v1beta1
     4  kind: Gateway
     5  metadata:
     6    name: wildcard-tls-gateway
     7  spec:
     8    gatewayClassName: acme-lb
     9    listeners:
    10    - name: foo-https
    11      protocol: HTTPS
    12      port: 443
    13      hostname: foo.example.com
    14      tls:
    15        certificateRefs:
    16        - kind: Secret
    17          group: ""
    18          name: foo-example-com-cert
    19    - name: wildcard-https
    20      protocol: HTTPS
    21      port: 443
    22      hostname: "*.example.com"
    23      tls:
    24        certificateRefs:
    25        - kind: Secret
    26          group: ""
    27          name: wildcard-example-com-cert