Created
May 24, 2022 07:49
-
-
Save yankay/dee8f655837f7aa8a45d57bbc851757b to your computer and use it in GitHub Desktop.
快速运行 CIS-benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://ghproxy.com/github.com/aquasecurity/kube-bench/blob/main/job.yaml | |
| cat job.yaml | sed 's/image: aquasec/image: docker.m.daocloud.io\/aquasec/g' > jobm.yaml | |
| kubectl apply -f jobm.yaml | |
| kubectl get pods | |
| kubectl logs kube-bench-j76s9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment