# Functions
GenCertPoolUseCA generates a x509 CertPool based on the given CA file.
GenRootCertPool generates a x509 CertPool based on the given kubeconfig, if the kubeConfig is empty, it will creates the CertPool using the CA file.
GenTLSConfigUseCertMgrAndCA generates a TLS configuration based on the given certificate manager and the CA file.
GenTLSConfigUseCurrentCertAndCertPool generates a TLS configuration using the given current certificate and x509 CertPool.