Added NUM_RW_PODS and NUM_RO_PODS env vars to afrouterd.

Change-Id: If0aef72b87e8389da567942705c32293a29bdbb9
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index bfec00c..5860084 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -17,5 +17,5 @@
 description: A Helm chart for Voltha based on K8S resources in Voltha project
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 2.0.5
+version: 2.0.6
 appVersion: 2.0.0
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"]