add issuer

This commit is contained in:
2026-05-06 17:03:36 -05:00
parent 11cd367f94
commit 4af01f2d0a
3 changed files with 31 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ kind: Gateway
metadata: metadata:
name: envoy-gateway name: envoy-gateway
namespace: default namespace: default
annotations:
cert-manager.io/cluster-issuer: letsencrypt
spec: spec:
gatewayClassName: envoy gatewayClassName: envoy
listeners: listeners:
@@ -13,3 +15,15 @@ spec:
allowedRoutes: allowedRoutes:
namespaces: namespaces:
from: All from: All
- name: https
protocol: HTTPS
port: 443
hostname: "mcp.corredorconect.com"
tls:
mode: Terminate
certificateRefs:
- name: mcp-tls
allowedRoutes:
namespaces:
from: All

View File

@@ -0,0 +1,16 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
spec:
acme:
email: haimkortovich88@gmail.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt
solvers:
- http01:
gatewayHTTPRoute:
parentRefs:
- name: envoy-gateway
namespace: default

View File

@@ -6,3 +6,4 @@ resources:
- envoy-gateway-class.yaml - envoy-gateway-class.yaml
- metal-lb.yaml - metal-lb.yaml
- gateway.yaml - gateway.yaml
- issuer.yaml