VOL-2238 - support a single rw-core deployment

Change-Id: I9e043af09e2974f93c15fa257d9a87acfcd5cd57
diff --git a/voltha/templates/rw-core.yaml b/voltha/templates/rw-core.yaml
index 75333a6..01c7da2 100644
--- a/voltha/templates/rw-core.yaml
+++ b/voltha/templates/rw-core.yaml
@@ -11,7 +11,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-
+{{- if not .Values.therecanbeonlyone }}
 {{- $root := . -}}
 {{- $tag := tpl .Values.images.rw_core.tag . }}
 {{- $repository := tpl .Values.images.rw_core.repository . }}
@@ -180,5 +180,6 @@
               port: 8080
             initialDelaySeconds: 3
             periodSeconds: 3
-{{end}}
-{{end}}
+{{- end }}
+{{- end }}
+{{- end }}