func GetCert(secret corev1.Secret) []byte {
	return secret.Data[corev1.TLSCertKey]
}
GetCert get the cert from the secret by the key tls.crt
package secret
import corev1 "k8s.io/api/core/v1"
func GetCACert(secret corev1.Secret) []byte {
	return secret.Data[KeyCACert]
}
func GetCAKey(secret corev1.Secret) []byte {
	return secret.Data[KeyCAKey]
}
func GetCA(secret corev1.Secret) ([]byte, []byte) {
	return secret.Data[KeyCACert], secret.Data[KeyCAKey]
}