kubernetes/argo-cd/applications/production-hm/ray-cluster/kubernetes-manifests/production-hm-ray-certificate.yaml
# https://cert-manager.io/docs/usage/certificate
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: production-hm-ray-certificate
namespace: production-hm-ray-cluster
annotations:
# https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks
argocd.argoproj.io/hook: PreSync
spec:
commonName: hm-netdata.internal.hongbomiao.com
secretName: production-hm-ray-certificate
dnsNames:
- hm-netdata.internal.hongbomiao.com
issuerRef:
kind: ClusterIssuer
name: production-lets-encrypt-cluster-issuer
# https://letsencrypt.org/certificates
privateKey:
algorithm: ECDSA
size: 384
rotationPolicy: Always