veza/k8s/certificates/certificate-example.yaml

25 lines
600 B
YAML

# Example Certificate resource
# This demonstrates how to request a certificate manually (optional)
# Usually, certificates are automatically requested via Ingress annotations
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: veza-tls
namespace: veza-production
spec:
# Secret name where the certificate will be stored
secretName: veza-tls
# Issuer reference
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
# DNS names for the certificate
dnsNames:
- app.veza.com
- api.veza.com
- www.veza.com
# Optional: Common name
commonName: veza.com