From c09ca80bf0f2756ac636014d26711e75bfa4cfdb Mon Sep 17 00:00:00 2001 From: leledashenqi Date: Fri, 21 Dec 2018 14:59:18 +0800 Subject: [PATCH] Change image pull policy from Always to IfNotPresent. No need to repeat pulling image when container recreate. Change-Id: I6b3b1e3b963093644faa88ba084138684d78cfab Story:2004662 Task:28629 --- tools/g2/sonobuoy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/g2/sonobuoy.yaml b/tools/g2/sonobuoy.yaml index 390dad11..b8195214 100644 --- a/tools/g2/sonobuoy.yaml +++ b/tools/g2/sonobuoy.yaml @@ -119,7 +119,7 @@ data: - name: E2E_FOCUS value: Conformance image: gcr.io/heptio-images/kube-conformance:v1.8.0 - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: e2e volumeMounts: - mountPath: /tmp/results @@ -137,7 +137,7 @@ data: - name: RESULTS_DIR value: /tmp/results image: gcr.io/heptio-images/sonobuoy:v0.9.0 - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: sonobuoy-worker volumeMounts: - mountPath: /etc/sonobuoy @@ -179,7 +179,7 @@ data: - name: CHROOT_DIR value: /node image: gcr.io/heptio-images/sonobuoy-plugin-systemd-logs:v0.9.0 - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: systemd-logs securityContext: privileged: true @@ -203,7 +203,7 @@ data: - name: RESULTS_DIR value: /tmp/results image: gcr.io/heptio-images/sonobuoy:v0.9.0 - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: sonobuoy-worker securityContext: privileged: true @@ -261,7 +261,7 @@ spec: fieldRef: fieldPath: status.podIP image: gcr.io/heptio-images/sonobuoy:v0.9.0 - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: kube-sonobuoy volumeMounts: - mountPath: /etc/sonobuoy