Use "common.repository" framework 56/70956/1
authorJulien Barbot <julien@barbot.org>
Mon, 22 Oct 2018 14:49:07 +0000 (16:49 +0200)
committerJulien Barbot <julien@barbot.org>
Mon, 22 Oct 2018 15:02:12 +0000 (17:02 +0200)
Change-Id: I31b008cbe5e9c4e06e16451f02e09dc6c19b4147
Issue-ID: OOM-874
Signed-off-by: Julien Barbot <julien@barbot.org>
kubernetes/policy/charts/policy-distribution/templates/deployment.yaml

index 8722e03..d6a6d21 100644 (file)
@@ -18,7 +18,7 @@ spec:
     spec:
       containers:
         - name: {{ include "common.name" . }}
-          image: "{{ .Values.repository }}/{{ .Values.image }}"
+          image: "{{ include "common.repository" . }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           command: ["/opt/app/policy/distribution/bin/policy-dist.sh"]
           args: ["/opt/app/policy/distribution/etc/mounted/config.json"]