k8s-cluster/yaml/registry/registry-cert.yaml

16 lines
314 B
YAML
Raw Normal View History

2024-05-17 22:03:38 -04:00
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: registry-cert
namespace: registry
spec:
secretName: registry-tls
issuerRef:
name: letsencrypt-production-dns
kind: ClusterIssuer
commonName: '${REGISTRY_URL}'
dnsNames:
- '${REGISTRY_URL}'
privateKey:
algorithm: ECDSA