k8s-cluster/yaml/system/namespace-wild-cert.yaml

17 lines
397 B
YAML
Raw Normal View History

2024-05-17 22:03:38 -04:00
---
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