Kubernetes Submit Queue
b3c6da0ece
Merge pull request #45813 from xilabao/add-psp-in-kubectl-describe
Automatic merge from submit-queue (batch tested with PRs 45813, 49594, 49443, 49167, 47539)
add podsecuritypolicy in kubectl describe command
**What this PR does / why we need it**:
Describe all fields of podsecuritypolicy
```
# ./cluster/kubectl.sh describe psp restricted
Name: restricted
Settings:
Allow Privileged: false
Default Add Capabilities: <none>
Required Drop Capabilities: <none>
Allowed Capabilities: <none>
Allowed Volume Types: emptyDir,secret,downwardAPI,configMap,persistentVolumeClaim,projected
Allow Host Network: false
Allow Host Ports: <none>
Allow Host PID: false
Allow Host IPC: false
Read Only Root Filesystem: false
SELinux Context Strategy: RunAsAny
User: <none>
Role: <none>
Type: <none>
Level: <none>
Run As User Strategy: MustRunAsNonRoot
Ranges: <none>
FSGroup Strategy: RunAsAny
Ranges: <none>
Supplemental Groups Strategy: RunAsAny
Ranges: <none>
```
**Which issue this PR fixes**: fixes #43757
**Special notes for your reviewer**:
**Release note**:
```release-note
kubectl describe podsecuritypolicy describes all fields.
```
2017-07-28 07:22:32 -07:00
..
2017-07-28 07:22:32 -07:00
2017-05-29 18:30:10 -04:00
2017-02-23 00:28:31 -05:00
2017-07-05 00:31:41 -04:00
2017-04-18 16:11:41 +08:00
2017-06-22 11:31:03 -07:00
2017-06-06 13:30:24 -07:00
2017-07-05 00:31:41 -04:00
2017-06-06 13:30:24 -07:00
2017-05-31 13:02:23 +05:30
2017-05-31 13:02:23 +05:30
2017-05-31 13:02:23 +05:30
2017-03-07 22:28:27 -05:00
2017-07-14 18:01:51 +08:00
2017-02-23 00:28:30 -05:00
2017-05-31 13:02:23 +05:30
2017-05-31 13:02:23 +05:30