func newTLSSecret(cr *v1alpha1.RethinkDBCluster, name string) *corev1.Secret {
	secret := newSecret(cr)
	secret.ObjectMeta.Name = name
	secret.Type = corev1.SecretTypeTLS
	return secret
}
// newTLSSecret creates a new TLS secret with the given name for the given RethinkDBCluster.
newTLSSecret creates a new TLS secret with the given name for the given RethinkDBCluster.
// newTLSSecret creates a new TLS secret with the given name for the given RethinkDBCluster .
func newTLSSecret(cr *v1alpha1.RethinkDBCluster, name string) *corev1.Secret {
	secret := newSecret(cr)
	secret.ObjectMeta.Name = name
	secret.Type = corev1.SecretTypeTLS
	return secret
}
func newTLSSecret ( cr * v1alpha1 . RethinkDBCluster , name string ) * corev1 . Secret { secret := newSecret ( cr ) secret . ObjectMeta . Name = name secret . Type = corev1 . SecretTypeTLS return secret }
newTLSSecret creates a new TLS secret with the given name for the given RethinkDBCluster.
newTLSSecret creates a new TLS secret with the given name for the given RethinkDBCluster .