feat: add --kubeconfig flag (#858)

* feat: add --kubeconfig flag

* docs: add kubeconfig flag example
This commit is contained in:
Alessio Greggi
2022-10-06 07:11:42 +02:00
committed by GitHub
parent 81c3c34ab8
commit 13f09315e7
2 changed files with 9 additions and 0 deletions

View File

@@ -194,6 +194,11 @@ kubescape scan framework mitre --submit
kubescape scan control "Privileged container"
```
#### Scan using an anternative kubeconfig file
```
kubescape scan --kubeconfig cluster.conf
```
#### Scan specific namespaces
```
kubescape scan --include-namespaces development,staging,production