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