Files
home-cluster/cluster/apps/networking/wildcard-certificate/certificate.yaml
T

16 lines
328 B
YAML

---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "${SECRET_DOMAIN/./-}"
namespace: networking
spec:
secretName: "${SECRET_DOMAIN/./-}-tls"
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
commonName: "${SECRET_DOMAIN}"
dnsNames:
- "${SECRET_DOMAIN}"
- "*.${SECRET_DOMAIN}"