From 4c6a50ef63a46e4b2f6627bcd9c19fdb5b78ca16 Mon Sep 17 00:00:00 2001 From: yuryn Date: Mon, 4 Sep 2017 16:42:08 +0300 Subject: Use paramers for readiness image and pullPolicy Change-Id: I2c1aa2ff35c1fb698111e30f1abcd076f5b658b4 Issue-ID: OOM-65 Signed-off-by: yuryn --- templates/aai-resources-deployment.yaml | 4 ++-- templates/aai-traversal-deployment.yaml | 4 ++-- templates/gremlin-deployment.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/aai-resources-deployment.yaml b/templates/aai-resources-deployment.yaml index e18fcf2..1aff10b 100644 --- a/templates/aai-resources-deployment.yaml +++ b/templates/aai-resources-deployment.yaml @@ -33,8 +33,8 @@ spec: } } ], - "image": "oomk8s/readiness-check:1.0.0", - "imagePullPolicy": "Always", + "image": "{{ .Values.image.readiness }}", + "imagePullPolicy": "{{ .Values.pullPolicy }}", "name": "aai-resources-readiness" } ]' diff --git a/templates/aai-traversal-deployment.yaml b/templates/aai-traversal-deployment.yaml index 59ea7ba..debd1f6 100644 --- a/templates/aai-traversal-deployment.yaml +++ b/templates/aai-traversal-deployment.yaml @@ -35,8 +35,8 @@ spec: } } ], - "image": "oomk8s/readiness-check:1.0.0", - "imagePullPolicy": "Always", + "image": "{{ .Values.image.readiness }}", + "imagePullPolicy": "{{ .Values.pullPolicy }}", "name": "aai-traversal-readiness" } ]' diff --git a/templates/gremlin-deployment.yaml b/templates/gremlin-deployment.yaml index ee98795..d28b286 100644 --- a/templates/gremlin-deployment.yaml +++ b/templates/gremlin-deployment.yaml @@ -33,8 +33,8 @@ spec: } } ], - "image": "oomk8s/readiness-check:1.0.0", - "imagePullPolicy": "Always", + "image": "{{ .Values.image.readiness }}", + "imagePullPolicy": "{{ .Values.pullPolicy }}", "name": "gremlin-readiness" } ]' -- cgit 1.2.3-korg