kubewarden-controller icon indicating copy to clipboard operation
kubewarden-controller copied to clipboard

Generate CA and certificate

Open fabriziosestito opened this issue 1 year ago • 0 comments

  • Generate Certificate Authority
  • Generate certificate for kubewarden-controller and sign it with our CA
  • Start the Kubewarden controller HTTPS server using this certificate
  • Register the webhook against the Kubernetes API, using the certificate of our CA inside of clientConfig.caBundle

Related to: https://github.com/kubewarden/rfc/blob/main/rfc/0018-certificate-handling.md#kubewarden-fresh-install

Alternatives you've considered

Maybe this could be helpful: https://github.com/open-policy-agent/cert-controller

Anything else?

Remove cert manager dead code.

fabriziosestito avatar Oct 02 '23 14:10 fabriziosestito