parameterize docker image
[oom.git] / kubernetes / msb / templates / msb-eag-deployment.yaml
index 45b8879..c4697ba 100644 (file)
@@ -3,7 +3,7 @@ kind: Deployment
 metadata:
   name: msb-eag
 spec:
-  replicas: 2
+  replicas: {{ .Values.eagReplicas }}
   selector:
     matchLabels:
       app: msb-eag
@@ -16,7 +16,7 @@ spec:
       hostname: msb-eag
       containers:
       - args:
-        image:  nexus3.onap.org:10001/onap/msb/msb_apigateway
+        image:  {{ .Values.image.apigateway }}
         name: "msb-eag"
         env:
         - name: CONSUL_IP
@@ -33,6 +33,6 @@ spec:
             port: {{ .Values.eagPort }}
           initialDelaySeconds: 5
           periodSeconds: 10
-        imagePullPolicy: "{{ .Values.pullPolicy}}"
+        imagePullPolicy: {{ .Values.pullPolicy}}