aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-10-22 16:49:07 +0200
committerJulien Barbot <julien@barbot.org>2018-10-22 17:02:12 +0200
commit665fdc13580d5a3d2f56b49b37227a518ac4ce12 (patch)
tree677cef367fa117e8a048d5a645453e85b6bb1fd9
parent638bb6a064eaf265bfd5ece6df93a128db7b7a91 (diff)
Use "common.repository" framework
Change-Id: I31b008cbe5e9c4e06e16451f02e09dc6c19b4147 Issue-ID: OOM-874 Signed-off-by: Julien Barbot <julien@barbot.org>
-rw-r--r--kubernetes/policy/charts/policy-distribution/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/policy/charts/policy-distribution/templates/deployment.yaml b/kubernetes/policy/charts/policy-distribution/templates/deployment.yaml
index 8722e03ad4..d6a6d2110a 100644
--- a/kubernetes/policy/charts/policy-distribution/templates/deployment.yaml
+++ b/kubernetes/policy/charts/policy-distribution/templates/deployment.yaml
@@ -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"]