Merge "music-tomcat: Use "common.repository" framework"
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Wed, 7 Nov 2018 14:13:19 +0000 (14:13 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 7 Nov 2018 14:13:19 +0000 (14:13 +0000)
kubernetes/common/music/charts/music-tomcat/templates/deployment.yaml

index 1fec55c..2e04b15 100755 (executable)
@@ -63,7 +63,7 @@ spec:
               fieldPath: metadata.namespace
 # War Container
       - name: "{{ .Chart.Name }}-war"
-        image: "{{ .Values.repository }}/{{ .Values.warImage }}"
+        image: "{{ include "common.repository" . }}/{{ .Values.warImage }}"
         command: ["cp","/app/MUSIC.war","/webapps"]
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         ports:
@@ -73,7 +73,7 @@ spec:
       containers:
       # Tomcat Container
         - name: "{{ include "common.name" . }}"
-          image: "{{ .Values.repository }}/{{ .Values.image }}"
+          image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}