summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_curator/templates/curator.j2
diff options
context:
space:
mode:
authorJan Wozniak <jwozniak@redhat.com>2017-10-09 16:58:32 +0200
committerJan Wozniak <jwozniak@redhat.com>2017-10-23 10:06:30 +0200
commit862f50ff66324d7d1f23fe9bedd5d9d664578302 (patch)
treed5eab05cd8f4f6d9bffa58861d2c13eb4373617b /roles/openshift_logging_curator/templates/curator.j2
parent1a0f460eb67f1a6fa82385faa91df4edd4b9d7d3 (diff)
downloadopenshift-862f50ff66324d7d1f23fe9bedd5d9d664578302.tar.gz
openshift-862f50ff66324d7d1f23fe9bedd5d9d664578302.tar.bz2
openshift-862f50ff66324d7d1f23fe9bedd5d9d664578302.tar.xz
openshift-862f50ff66324d7d1f23fe9bedd5d9d664578302.zip
Bug 1452939 - change Logging & Metrics imagePullPolicy
- all images logging and metrics change their default imagePullPolicy from Always to IfNotPresent
Diffstat (limited to 'roles/openshift_logging_curator/templates/curator.j2')
-rw-r--r--roles/openshift_logging_curator/templates/curator.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging_curator/templates/curator.j2 b/roles/openshift_logging_curator/templates/curator.j2
index e71393643..462128366 100644
--- a/roles/openshift_logging_curator/templates/curator.j2
+++ b/roles/openshift_logging_curator/templates/curator.j2
@@ -38,7 +38,7 @@ spec:
-
name: "curator"
image: {{image}}
- imagePullPolicy: Always
+ imagePullPolicy: IfNotPresent
{% if (curator_memory_limit is defined and curator_memory_limit is not none and curator_memory_limit != "") or (curator_cpu_limit is defined and curator_cpu_limit is not none and curator_cpu_limit != "") or (curator_cpu_request is defined and curator_cpu_request is not none and curator_cpu_request != "") %}
resources:
{% if (curator_memory_limit is defined and curator_memory_limit is not none and curator_memory_limit != "") or (curator_cpu_limit is defined and curator_cpu_limit is not none and curator_cpu_limit != "") %}