Skip to content

Commit 3855e8c

Browse files
committed
Merge branch 'main' of github.com:cin/kubectl-parallel-exec
2 parents b529fad + c0e6ccb commit 3855e8c

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/pull_request.yml

+14
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,17 @@ jobs:
2929

3030
- name: Go Build amd64
3131
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o kubectl-parallel-exec-amd64
32+
33+
- name: Run Trivy vulnerability scanner in repo mode
34+
uses: aquasecurity/trivy-action@master
35+
with:
36+
scan-type: 'fs'
37+
ignore-unfixed: true
38+
format: 'sarif'
39+
output: 'trivy-results.sarif'
40+
severity: 'CRITICAL'
41+
42+
- name: Upload Trivy scan results to GitHub Security tab
43+
uses: github/codeql-action/upload-sarif@v2
44+
with:
45+
sarif_file: 'trivy-results.sarif'

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sudo mv kubectl-parallel-exec /usr/local/bin/
5656

5757
## Usage
5858
```sh
59-
kubectl-parallel-exec -kubeconfig /path/to/kubeconfig -c container-name -l label-selector command-to-execute
59+
kubectl-parallel-exec -kubeconfig /path/to/kubeconfig -c container-name -l label-selector -n namespace command-to-execute
6060
```
6161
- `-kubeconfig`: Path to the kubeconfig file. If not provided, in-cluster configuration will be used.
6262
- `-c`: Container to execute the command against.

0 commit comments

Comments
 (0)