func newSecret(cr *v1alpha1.RethinkDBCluster) *corev1.Secret {
	return &corev1.Secret{
		ObjectMeta: metav1.ObjectMeta{
			Name:      cr.Name,
			Namespace: cr.Namespace,
			Labels:    labelsForCluster(cr),
		},
		Type: corev1.SecretTypeOpaque,
	}
}
// newSecret creates a new secret for the given RethinkDBCluster.
newSecret creates a new secret for the given RethinkDBCluster.
// newSecret creates a new secret for the given RethinkDBCluster .
func newSecret(cr *v1alpha1.RethinkDBCluster) *corev1.Secret {
	return &corev1.Secret{
		ObjectMeta: metav1.ObjectMeta{
			Name:      cr.Name,
			Namespace: cr.Namespace,
			Labels:    labelsForCluster(cr),
		},
		Type: corev1.SecretTypeOpaque,
	}
}
func newSecret ( cr * v1alpha1 . RethinkDBCluster ) * corev1 . Secret { return & corev1 . Secret { ObjectMeta : metav1 . ObjectMeta { Name : cr . Name , Namespace : cr . Namespace , Labels : labelsForCluster ( cr ) , } , Type : corev1 . SecretTypeOpaque , } }
newSecret creates a new secret for the given RethinkDBCluster.
newSecret creates a new secret for the given RethinkDBCluster .