k3s-cluster/kubernetes/common/apps/cert-manager/wildcard-cert.yaml

18 lines
339 B
YAML

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wildcard-main-cert
namespace: traefik
spec:
secretName: wildcard-main-tls
duration: 2160h # 90d
renewBefore: 360h # 15d
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
dnsNames:
- "${SECRET_NEW_DOMAIN}"
- "*.${SECRET_NEW_DOMAIN}"