Skip to content

Commit e90d436

Browse files
authored
Update README.MD
Introduce new flag `--grant`
1 parent 0e786fa commit e90d436

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.MD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ It has 2 subcommands, `kube-psp-advisor inspect` and `kube-psp-advisor convert`.
77
## Build and Run locally
88
1. ```make build```
99
2. ```./kube-psp-advisor inspect``` to generate Pod Security Policy based on running cluster configuration
10-
3. ```./kube-psp-advisor inspect --report``` to print the details reports (why this PSP is recommended for the cluster)
10+
- 2.1 ```./kube-psp-advisor inspect --report``` to print the details reports (why this PSP is recommended for the cluster)
11+
- 2.2 ```./kube-psp-advisor inspect --grant``` to print PSPs, roles and rolebindings for service accounts (refer to [psp-grant.yaml](./test-yaml/psp-grant.yaml))
12+
- 2.3 ```./kube-psp-advisor inspect --namespace=<ns>``` to print report or PSP(s) within a given namespace (default to all)
1113
4. ```./kube-psp-advisor convert --podFile <path> --pspFile <path>``` to generate a PSP from a single .yaml file.
1214

1315
## Build and Run as Container

0 commit comments

Comments
 (0)