summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd
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_fluentd
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_fluentd')
-rw-r--r--roles/openshift_logging_fluentd/templates/fluentd.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging_fluentd/templates/fluentd.j2 b/roles/openshift_logging_fluentd/templates/fluentd.j2
index b07175a50..10283316c 100644
--- a/roles/openshift_logging_fluentd/templates/fluentd.j2
+++ b/roles/openshift_logging_fluentd/templates/fluentd.j2
@@ -29,7 +29,7 @@ spec:
containers:
- name: "{{ daemonset_container_name }}"
image: "{{ openshift_logging_fluentd_image_prefix }}{{ daemonset_name }}:{{ openshift_logging_fluentd_image_version }}"
- imagePullPolicy: Always
+ imagePullPolicy: IfNotPresent
securityContext:
privileged: true
{% if (fluentd_memory_limit is defined and fluentd_memory_limit is not none) or (fluentd_cpu_limit is defined and fluentd_cpu_limit is not none) or (fluentd_cpu_request is defined and fluentd_cpu_request is not none) %}