hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/argo-cd/applications/production-hm/airbyte/kubernetes-manifests/production-hm-airbyte-certificate.yaml

Summary

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