Replica Scaling of Policy Container

Issue-ID: OOM-689

Change-Id: Iff389af637dec0b85e568dd9b4cfa641f11eb3fc
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
diff --git a/kubernetes/policy/templates/dep-brmsgw.yaml b/kubernetes/policy/templates/dep-brmsgw.yaml
index 667ccc6..6c0533c 100644
--- a/kubernetes/policy/templates/dep-brmsgw.yaml
+++ b/kubernetes/policy/templates/dep-brmsgw.yaml
@@ -5,7 +5,7 @@
   name: brmsgw
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.brmsgwReplicas }}
   selector:
     matchLabels:
       app: brmsgw
diff --git a/kubernetes/policy/templates/dep-drools.yaml b/kubernetes/policy/templates/dep-drools.yaml
index afa044a..1dc16cf 100644
--- a/kubernetes/policy/templates/dep-drools.yaml
+++ b/kubernetes/policy/templates/dep-drools.yaml
@@ -5,7 +5,7 @@
   name: drools
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.droolsReplicas }}
   selector:
     matchLabels:
       app: drools
diff --git a/kubernetes/policy/templates/dep-maria.yaml b/kubernetes/policy/templates/dep-maria.yaml
index c921e8c..e42230f 100644
--- a/kubernetes/policy/templates/dep-maria.yaml
+++ b/kubernetes/policy/templates/dep-maria.yaml
@@ -5,6 +5,7 @@
   name: mariadb
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.mariadbReplicas }}
   selector:
     matchLabels:
       app: mariadb
@@ -35,4 +36,4 @@
           path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }}
\ No newline at end of file
+#{{ end }}
diff --git a/kubernetes/policy/templates/dep-nexus.yaml b/kubernetes/policy/templates/dep-nexus.yaml
index 4adb05f..2db40b2 100644
--- a/kubernetes/policy/templates/dep-nexus.yaml
+++ b/kubernetes/policy/templates/dep-nexus.yaml
@@ -5,6 +5,7 @@
   name: nexus
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.nexusReplicas }}
   selector:
     matchLabels:
       app: nexus
diff --git a/kubernetes/policy/templates/dep-pap.yaml b/kubernetes/policy/templates/dep-pap.yaml
index d3d5ff3..68ccb5a 100644
--- a/kubernetes/policy/templates/dep-pap.yaml
+++ b/kubernetes/policy/templates/dep-pap.yaml
@@ -5,6 +5,7 @@
   name: pap
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
+  replicas: {{ .Values.papReplicas }}
   selector:
     matchLabels:
       app: pap
diff --git a/kubernetes/policy/templates/dep-pdp.yaml b/kubernetes/policy/templates/dep-pdp.yaml
index b62e280..f867fa5 100644
--- a/kubernetes/policy/templates/dep-pdp.yaml
+++ b/kubernetes/policy/templates/dep-pdp.yaml
@@ -5,7 +5,7 @@
   name: pdp
   namespace: "{{ .Values.nsPrefix }}-policy"
 spec:
-  replicas: 1
+  replicas: {{ .Values.pdpReplicas }}
   selector:
     matchLabels:
       app: pdp