func newCAConfigMap(cr *v1alpha1.RethinkDBCluster, caSecret *corev1.Secret) (*corev1.ConfigMap, error) {
	cm := newConfigMapWithSuffix(cr, "ca")
	cm.Data = map[string]string{
		TLSCACertKey: string(caSecret.Data[TLSCertKey]),
	}
	return cm, nil
}
// newCAConfigMap creates a new ConfigMap for the given RethinkDBCluster and CA certificate.
newCAConfigMap creates a new ConfigMap for the given RethinkDBCluster and CA certificate.
// newCAConfigMap creates a new ConfigMap for the given RethinkDBCluster and CA certificate .
func newCAConfigMap(cr *v1alpha1.RethinkDBCluster, caSecret *corev1.Secret) (*corev1.ConfigMap, error) {
	cm := newConfigMapWithSuffix(cr, "ca")
	cm.Data = map[string]string{
		TLSCACertKey: string(caSecret.Data[TLSCertKey]),
	}
	return cm, nil
}
func newCAConfigMap ( cr * v1alpha1 . RethinkDBCluster , caSecret * corev1 . Secret ) ( * corev1 . ConfigMap , error ) { cm := newConfigMapWithSuffix ( cr , " " ) cm . Data = map [ string ] string { TLSCACertKey : string ( caSecret . Data [ TLSCertKey ] ) , } return cm , nil }
newCAConfigMap creates a new ConfigMap for the given RethinkDBCluster and CA certificate.
newCAConfigMap creates a new ConfigMap for the given RethinkDBCluster and CA certificate .