feat: switch to Let's Encrypt cert via cert-manager

This commit is contained in:
Ryan Moon
2026-04-02 21:24:10 -05:00
parent e91187cb89
commit 2c2f18bb25
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: ryan@lunarfront.tech
privateKeySecretRef:
name: letsencrypt-prod-key
solvers:
- http01:
ingress:
ingressClassName: nginx

View File

@@ -78,13 +78,14 @@ ingress:
annotations: annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true" nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0" nginx.ingress.kubernetes.io/proxy-body-size: "0"
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts: hosts:
- host: git.lunarfront.tech - host: git.lunarfront.tech
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls: tls:
- secretName: cloudflare-origin-cert - secretName: git-lunarfront-tech-tls
hosts: hosts:
- git.lunarfront.tech - git.lunarfront.tech