30 lines
616 B
YAML
30 lines
616 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: envoy-gateway
|
|
namespace: default
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
spec:
|
|
gatewayClassName: envoy
|
|
listeners:
|
|
- name: http
|
|
protocol: HTTP
|
|
port: 80
|
|
hostname: "mcp.corredorconect.com"
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
|
|
- name: https
|
|
protocol: HTTPS
|
|
port: 443
|
|
hostname: "mcp.corredorconect.com"
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: mcp-tls
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|