How to create a caBundle?

Abdul Majid:
how to create a caBundle?

Vijin Palazhi:
This is the CA certificate that was used to issue the TLS certs configured on the webhook server (either internal to the k8 cluster or an external server).

I would recommend going through the labs to see how it is configured.

For example, in the lab we use the /root/keys/ca.crt to sign the TLS cert, the same in base64 encoded format is then used as the caBundle in the webhook configuration.

Abdul Majid:
ok Thanks @Vijin Palazhi caBundle is nothing but the ca.crt file in base64 format.