Use paramers for readiness image and pullPolicy
Change-Id: I2c1aa2ff35c1fb698111e30f1abcd076f5b658b4
Issue-ID: OOM-65
Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
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 @@
}
}
],
- "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 @@
}
}
],
- "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 @@
}
}
],
- "image": "oomk8s/readiness-check:1.0.0",
- "imagePullPolicy": "Always",
+ "image": "{{ .Values.image.readiness }}",
+ "imagePullPolicy": "{{ .Values.pullPolicy }}",
"name": "gremlin-readiness"
}
]'