Fix API gateway image issue
[oom.git] / kubernetes / msb / templates / msb-iag-deployment.yaml
index 180c315..35fba56 100644 (file)
@@ -17,11 +17,11 @@ spec:
       hostname: msb-iag
       containers:
       - args:
-        image:  nexus3.onap.org:10001/onap/msb/msb_apigateway
+        image:  {{ .Values.image.apigateway }}
         name: "msb-iag"
         env:
         - name: CONSUL_IP
-          value: "{{ .Values.consulClusterIP}}"
+          value: msb-consul.{{ .Values.nsPrefix }}-msb
         - name: SDCLIENT_IP
           value: "{{ .Values.discoveryClusterIP}}"
         - name: ROUTE_LABELS
@@ -35,5 +35,6 @@ spec:
           initialDelaySeconds: 5
           periodSeconds: 10
         imagePullPolicy: "{{ .Values.pullPolicy}}"
-
+      imagePullSecrets:
+      - name: "{{ .Values.nsPrefix }}-docker-registry-key"