From c301059b96fb66569bd358fd1da3514edd240dc5 Mon Sep 17 00:00:00 2001 From: Peter Colledge Date: Wed, 17 Jan 2024 09:37:27 +0000 Subject: [PATCH] cleanup: Caching imagePullPolicy for samples --- config/samples/onload/base/onload_v1alpha1_onload.yaml | 4 ++-- config/samples/sfnettest/client-server.yaml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/samples/onload/base/onload_v1alpha1_onload.yaml b/config/samples/onload/base/onload_v1alpha1_onload.yaml index ac008e9..5bca465 100644 --- a/config/samples/onload/base/onload_v1alpha1_onload.yaml +++ b/config/samples/onload/base/onload_v1alpha1_onload.yaml @@ -78,7 +78,7 @@ spec: version: # eg. 8.0.0.0 # ImagePullPolicy is the policy used when pulling images. Optional. - imagePullPolicy: Always + imagePullPolicy: IfNotPresent # ControlPlane allows fine-tuning of the Onload control plane server. # Optional. @@ -96,7 +96,7 @@ spec: devicePlugin: # ImagePullPolicy is the policy used when pulling images. Optional. - imagePullPolicy: Always + imagePullPolicy: IfNotPresent # MaxPodsPerNode is the number of Kubernetes devices that the Onload Device # Plugin should register with the kubelet. Notionally this is equivalent to diff --git a/config/samples/sfnettest/client-server.yaml b/config/samples/sfnettest/client-server.yaml index 4872489..de4f6ca 100644 --- a/config/samples/sfnettest/client-server.yaml +++ b/config/samples/sfnettest/client-server.yaml @@ -20,7 +20,6 @@ spec: - name: onload-sfnettest-server # The image's default entrypoint is a sfnt-pingpong server image: docker.io/onload/sfnettest:1.6.0-rc2 - imagePullPolicy: Always resources: limits: amd.com/onload: 1 @@ -53,7 +52,6 @@ spec: containers: - name: onload-sfnettest-client image: docker.io/onload/sfnettest:1.6.0-rc2 - imagePullPolicy: Always command: - /bin/sh - -c