Interview Prep/DevSecOps/Tool Internals and Comparisons

What role does cert-manager play in cluster security?

BeginnerConceptTool Internals and Comparisons
Answer

cert-manager automates TLS certificate issuance and renewal in Kubernetes, from ACME issuers (Let's Encrypt), Vault PKI, private CAs or cloud CAs. You declare a Certificate (or annotate an Ingress) and it keeps a Secret populated with a valid cert, renewing before expiry.

apiVersion: cert-manager.io/v1
kind: Certificate
metadata: { name: api-tls, namespace: shop }
spec:
  secretName: api-tls
  dnsNames: ["api.example.com"]
  issuerRef: { name: letsencrypt-prod, kind: ClusterIssuer }

It removes the classic outage of expired certificates and makes short-lived certs practical. With trust-manager it also distributes CA bundles.

All DevSecOps questions

More on Tool Internals and Comparisons