k3s-cluster/kubernetes/thin/apps/nginx/wildcard-cert/wildcard-cert.yaml

19 lines
377 B
YAML
Raw Normal View History

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wildcard-main-cert
namespace: nginx
spec:
secretName: wildcard-main-tls
duration: 2160h # 90d
renewBefore: 360h # 15d
issuerRef:
2023-04-13 05:25:19 +00:00
name: letsencrypt-production
kind: ClusterIssuer
dnsNames:
2024-07-03 19:54:03 +00:00
- "${SECRET_NEW_DOMAIN}"
- "*.${SECRET_NEW_DOMAIN}"
- "*.internal.${SECRET_NEW_DOMAIN}"