aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/security/kube-bench-master.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-24 07:51:29 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-03-25 09:30:04 +0100
commit1d94895fa66043dc85a4b8f93b15c408aea08ed3 (patch)
tree6d9c102db6079711fec017f5264f5cb4a0052e0f /functest_kubernetes/security/kube-bench-master.yaml
parentb6f9fafe865cb6a8956b11096c3a31f5debdacac (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 (cherry picked from commit af623f6b45c9357b0e33210f54db64b270d162bf)
Diffstat (limited to 'functest_kubernetes/security/kube-bench-master.yaml')
-rw-r--r--functest_kubernetes/security/kube-bench-master.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/security/kube-bench-master.yaml b/functest_kubernetes/security/kube-bench-master.yaml
index 755e2923..d1a13217 100644
--- a/functest_kubernetes/security/kube-bench-master.yaml
+++ b/functest_kubernetes/security/kube-bench-master.yaml
@@ -15,7 +15,7 @@ spec:
effect: NoSchedule
containers:
- name: kube-bench
- image: aquasec/kube-bench:0.3.1
+ image: {{ dockerhub_repo }}/aquasec/kube-bench:0.3.1
command: ["kube-bench", "master", "--json"]
volumeMounts:
- name: var-lib-etcd