func newVolumes(cr *v1alpha1.RethinkDBCluster) []corev1.Volume {
	volumes := []corev1.Volume{
		newProjectedVolume(cr, RethinkDBTLSSecretsKey),
	}

	// TODO: Handle persistent volumes for RethinkDB data!
	volumes = append(volumes, newEmptyDirVolume(RethinkDBDataKey))

	return volumes
}
// newVolumes creates the volumes used by the application.
newVolumes creates the volumes used by the application.
// newVolumes creates the volumes used by the application .
func newVolumes(cr *v1alpha1.RethinkDBCluster) []corev1.Volume {
	volumes := []corev1.Volume{
		newProjectedVolume(cr, RethinkDBTLSSecretsKey),
	}
	volumes = append(volumes, newEmptyDirVolume(RethinkDBDataKey))
	return volumes
}
func newVolumes ( cr * v1alpha1 . RethinkDBCluster ) [ ] corev1 . Volume { volumes := [ ] corev1 . Volume { newProjectedVolume ( cr , RethinkDBTLSSecretsKey ) , } volumes = append ( volumes , newEmptyDirVolume ( RethinkDBDataKey ) ) return volumes }
newVolumes creates the volumes used by the application.
newVolumes creates the volumes used by the application .
// TODO: Handle persistent volumes for RethinkDB data!