aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/security/kube-bench-node.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-24 07:51:29 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-24 13:13:48 +0000
commitaf623f6b45c9357b0e33210f54db64b270d162bf (patch)
tree4fc9016bc5a6a752a67f5cbdc8fc63968db69aa8 /functest_kubernetes/security/kube-bench-node.yaml
parent0b79c61af319c6f3beddf79e586e51e4675f3fc1 (diff)
Provide support for air gapped env for security
Sometimes, tested Kubernetes doesn't have direct access to Internet but access through repository mirrors. This patch handles this case for security test cases. Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I699d065ee691596c4a5ccf06c22ea76ef00fe497
Diffstat (limited to 'functest_kubernetes/security/kube-bench-node.yaml')
-rw-r--r--functest_kubernetes/security/kube-bench-node.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/security/kube-bench-node.yaml b/functest_kubernetes/security/kube-bench-node.yaml
index 306ad600..95929774 100644
--- a/functest_kubernetes/security/kube-bench-node.yaml
+++ b/functest_kubernetes/security/kube-bench-node.yaml
@@ -9,7 +9,7 @@ spec:
hostPID: true
containers:
- name: kube-bench
- image: aquasec/kube-bench:0.3.1
+ image: {{ dockerhub_repo }}/aquasec/kube-bench:0.3.1
command: ["kube-bench", "node", "--json"]
volumeMounts:
- name: var-lib-kubelet