set dns replicas in replication controller

Use number of replicas only when required different number than 1.

Replicas should be set by autoscaler and thus this change is required
only for kind of backwards compatibility.

Change-Id: I0a60c65715dcd09b24ffdbb243f9840da17cd5d2
diff --git a/kubernetes/files/kube-addons/dns/kubedns-rc.yaml b/kubernetes/files/kube-addons/dns/kubedns-rc.yaml
index 4fb8a52..bfc4d47 100644
--- a/kubernetes/files/kube-addons/dns/kubedns-rc.yaml
+++ b/kubernetes/files/kube-addons/dns/kubedns-rc.yaml
@@ -26,6 +26,10 @@
   # 1. In order to make Addon Manager do not reconcile this replicas parameter.
   # 2. Default is 1.
   # 3. Will be tuned in real time if DNS horizontal auto-scaling is turned on.
+  # replicas set only when required other than 1
+{%- if master.addons.dns.get('replicas', 1) != 1 %}
+  replicas: {{ master.addons.dns.replicas }}
+{%- endif %}
   strategy:
     rollingUpdate:
       maxSurge: 10%