You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@ It has 2 subcommands, `kube-psp-advisor inspect` and `kube-psp-advisor convert`.
7
7
## Build and Run locally
8
8
1.```make build```
9
9
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)
11
13
4.```./kube-psp-advisor convert --podFile <path> --pspFile <path>``` to generate a PSP from a single .yaml file.
0 commit comments