...

Text file src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/simple-http-https/gateway.yaml

Documentation: k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/simple-http-https

     1apiVersion: gateway.networking.k8s.io/v1beta1
     2kind: Gateway
     3metadata:
     4  name: example-gateway
     5spec:
     6  gatewayClassName: prod 
     7  listeners:
     8  - name: http
     9    port: 80
    10    protocol: HTTP
    11    hostname: "*.example.com"
    12  - name: https
    13    port: 443
    14    protocol: HTTPS
    15    hostname: "*.example.com"
    16    tls:
    17      mode: Terminate
    18      certificateRefs:
    19      - kind: Secret
    20        name: example-com

View as plain text