diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 18c6d332..b12817ba 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -58087,10 +58087,17 @@ execution: description: Command to run type: String default: uname - executor: + dependencies: + - description: 'kubectl must be installed + +' + get_prereq_command: 'echo "kubectl must be installed manually" + +' prereq_command: 'which kubectl ' + executor: command: | kubectl create -f src/busybox.yaml -n #{namespace} kubectl exec -n #{namespace} busybox -- #{command} diff --git a/atomics/T1609/T1609.md b/atomics/T1609/T1609.md index 0a8d1989..1c02b466 100644 --- a/atomics/T1609/T1609.md +++ b/atomics/T1609/T1609.md @@ -45,6 +45,18 @@ kubectl delete pod busybox -n #{namespace} +#### Dependencies: Run with `bash`! +##### Description: kubectl must be installed +##### Check Prereq Commands: +```bash +which kubectl +``` +##### Get Prereq Commands: +```bash +echo "kubectl must be installed manually" +``` + +