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