From 44492e0da74473460ff6a9f1323c5df3a2af943e Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 8 Sep 2020 20:45:18 +0200 Subject: Remove latest in all images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Kubernetes default pull policy is IfNotPresent unless the image tag is :latest in which case the default policy is Always. IfNotPresent causes the Kubelet to skip pulling an image if it already exists [1] [1] https://kind.sigs.k8s.io/docs/user/quick-start/ Change-Id: I83dac6165d2bbef165ca852dd03e5b76a5356f2f Signed-off-by: Cédric Ollivier --- functest_kubernetes/security/kube-bench.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest_kubernetes/security') diff --git a/functest_kubernetes/security/kube-bench.yaml b/functest_kubernetes/security/kube-bench.yaml index ec42ba16..714af1bc 100644 --- a/functest_kubernetes/security/kube-bench.yaml +++ b/functest_kubernetes/security/kube-bench.yaml @@ -12,7 +12,7 @@ spec: hostPID: true containers: - name: kube-bench - image: aquasec/kube-bench:latest + image: aquasec/kube-bench command: ["kube-bench"] volumeMounts: - name: var-lib-etcd -- cgit 1.2.3-korg