add issuer
This commit is contained in:
@@ -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
|
||||||
|
|||||||
16
clusters/k3s-dgx/infrastructure/issuer.yaml
Normal file
16
clusters/k3s-dgx/infrastructure/issuer.yaml
Normal 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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user