k8s-cluster/yaml/system/namespace-wild-cert.yaml
2024-05-18 05:03:38 +03:00

17 lines
397 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}.${CLUSTER_DOMAIN}'
dnsNames:
- '${nspace}.${CLUSTER_DOMAIN}'
- '*.${nspace}.${CLUSTER_DOMAIN}'
privateKey:
algorithm: ECDSA