k8x/env/nspace-wild-cert.yaml
2024-05-18 04:45:52 +03:00

18 lines
380 B
YAML

---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: wildcard-${nspace}-cert
namespace: ${nspace}
spec:
secretName: wildcard-${nspace}-tls
issuerRef:
name: letsencrypt-production-dns
kind: ClusterIssuer
commonName: '*.${nspace}.example.com'
dnsNames:
- '${nspace}.example.com'
- '*.${nspace}.example.com'
privateKey:
algorithm: ECDSA