NONRTRIC-924: RANPM - Add control-panel to Kubernetes deployment
[nonrtric/plt/ranpm.git] / install / helm / nrt-pm-rapp / templates / app-pod.yaml
index f16a119..2264dfa 100644 (file)
@@ -25,8 +25,12 @@ metadata:
 spec:
   containers:
   - name: pm-rapp
-    image: pm-rapp:latest
+    image: {{ .Values.global.extimagerepo }}/pm-rapp:latest
+    {{- if .Values.global.extimagerepo }}
+    imagePullPolicy: Always
+    {{- else }}
     imagePullPolicy: Never
+    {{- end }}
     ports:
     - name: http
       containerPort: 80