VOL-2238 - support a single rw-core deployment

Change-Id: I9e043af09e2974f93c15fa257d9a87acfcd5cd57
diff --git a/voltha/templates/api-server.yaml b/voltha/templates/api-server.yaml
index 8a8f59f..a4d5d7a 100644
--- a/voltha/templates/api-server.yaml
+++ b/voltha/templates/api-server.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 }}
 ---
 apiVersion: v1
 kind: Service
@@ -104,3 +104,4 @@
         - name: config-volume
           configMap:
             name: afrouter-config
+{{- end }}