25 lines
513 B
YAML
25 lines
513 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: ${NAME}
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
gatewayClassName: kong-v2
|
|
infrastructure:
|
|
parametersRef:
|
|
group: gateway-operator.konghq.com
|
|
kind: GatewayConfiguration
|
|
name: ${NAME}
|
|
listeners:
|
|
- name: http
|
|
protocol: HTTP
|
|
port: 80
|
|
- name: https
|
|
protocol: HTTPS
|
|
port: 443
|
|
hostname: ${HOSTNAME}
|
|
tls:
|
|
certificateRefs:
|
|
- kind: Secret
|
|
name: ${NAME}-tls
|