...

Text file src/sigs.k8s.io/gateway-api/examples/standard/wildcard-tls-gateway.yaml

Documentation: sigs.k8s.io/gateway-api/examples/standard

     1#$ Used in:
     2#$ - site-src/guides/tls.md
     3apiVersion: gateway.networking.k8s.io/v1beta1
     4kind: Gateway
     5metadata:
     6  name: wildcard-tls-gateway
     7spec:
     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

View as plain text