aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/security
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-09-08 20:45:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-09-08 20:46:54 +0200
commit44492e0da74473460ff6a9f1323c5df3a2af943e (patch)
treeaac8bfdc1680926b3a656fd4b96869f5239f8763 /functest_kubernetes/security
parent6371491ee2bc134c60abaa6a1deec18b9ffe22e2 (diff)
Remove latest in all images
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 <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/security')
-rw-r--r--functest_kubernetes/security/kube-bench.yaml2
1 files changed, 1 insertions, 1 deletions
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