From 862f50ff66324d7d1f23fe9bedd5d9d664578302 Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Mon, 9 Oct 2017 16:58:32 +0200 Subject: Bug 1452939 - change Logging & Metrics imagePullPolicy - all images logging and metrics change their default imagePullPolicy from Always to IfNotPresent --- roles/openshift_logging_mux/templates/mux.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_logging_mux/templates/mux.j2') diff --git a/roles/openshift_logging_mux/templates/mux.j2 b/roles/openshift_logging_mux/templates/mux.j2 index 7e88e3964..cfb13d59b 100644 --- a/roles/openshift_logging_mux/templates/mux.j2 +++ b/roles/openshift_logging_mux/templates/mux.j2 @@ -36,7 +36,7 @@ spec: containers: - name: "mux" image: {{image}} - imagePullPolicy: Always + imagePullPolicy: IfNotPresent {% if (mux_memory_limit is defined and mux_memory_limit is not none) or (mux_cpu_limit is defined and mux_cpu_limit is not none) or (mux_cpu_request is defined and mux_cpu_request is not none) %} resources: {% if (mux_memory_limit is defined and mux_memory_limit is not none) or (mux_cpu_limit is defined and mux_cpu_limit is not none) %} -- cgit v1.2.1