Added NUM_RW_PODS and NUM_RO_PODS env vars to afrouterd.

Change-Id: If0aef72b87e8389da567942705c32293a29bdbb9
diff --git a/voltha/templates/api-server.yaml b/voltha/templates/api-server.yaml
index 490cb7e..67a9083 100644
--- a/voltha/templates/api-server.yaml
+++ b/voltha/templates/api-server.yaml
@@ -61,6 +61,10 @@
         env:
         - name: POD_NAMESPACE
           value: {{ .Release.Namespace }}
+        - name: NUM_RW_PODS
+          value: {{ mul .Values.replicas.rw_core 2 | quote}}
+        - name: NUM_RO_PODS
+          value: {{ quote .Values.replicas.ro_core }}
         image: {{ tpl .Values.images.afrouterd.registry . }}{{ tpl .Values.images.afrouterd.repository . }}:{{ tpl .Values.images.afrouterd.tag . }}
         imagePullPolicy: {{ tpl .Values.images.afrouterd.pullPolicy . }}
         command: ["/app/arouterd"]