read Policy V1beta1Pod Security Policy
GET {{baseUrl}}/apis/policy/v1beta1/podsecuritypolicies/:name?exact=<boolean>&export=<boolean>&pretty=<string>
read the specified PodSecurityPolicy
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
exact | string | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | |
export | string | Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. | |
pretty | string | If 'true', then the output is pretty printed. |
RESPONSES
status: OK
{"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"in deserunt id","creationTimestamp":"1996-01-29T04:42:54.629Z","deletionGracePeriodSeconds":39553694,"deletionTimestamp":"1987-06-16T10:06:20.447Z","finalizers":["tempor ess","et"],"generateName":"amet Ut minim","generation":-28488792,"labels":{},"managedFields":[{"apiVersion":"in in in dolor","fieldsType":"nostrud labore","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"sit ullamco dolor ut","operation":"id Lorem in","time":"1947-10-05T19:14:45.912Z"},{"apiVersion":"occaecat exercitation nulla","fieldsType":"la","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"officia do","operation":"dolore","time":"1974-03-05T10:09:35.555Z"}],"name":"amet et exercitation proident reprehenderit","namespace":"pariatur anim Duis incididunt quis","ownerReferences":[{"apiVersion":"officia laborum dolore fugiat","kind":"anim","name":"velit dolore ea adipisicing","uid":"magna mollit velit Ut elit","blockOwnerDeletion":false,"controller":true},{"apiVersion":"enim adipisicing in eiusmod","kind":"commodo ex qui ipsum dolore","name":"nisi ipsum ut voluptate aliqua","uid":"ipsum irure Lorem nisi","blockOwnerDeletion":true,"controller":true}],"resourceVersion":"cupidatat","selfLink":"ex occaecat","uid":"nulla quis consequat"},"spec":{"seLinux":{"rule":"veniam ad ex","seLinuxOptions":{"level":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"role":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"runAsUser":{"rule":"laboris enim","ranges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"supplementalGroups":{"ranges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"rule":"ad"},"fsGroup":{"ranges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"rule":"ut labore ea nisi"},"allowPrivilegeEscalation":false,"allowedCSIDrivers":[{"name":"eu"},{"name":"do non reprehenderit"}],"allowedCapabilities":["dolor eu enim voluptate in","voluptate Ut cupidatat"],"allowedFlexVolumes":[{"driver":"id elit do nostrud sint"},{"driver":"in non ex"}],"allowedHostPaths":[{"pathPrefix":"in reprehenderit","readOnly":true},{"pathPrefix":"nulla do id veniam","readOnly":false}],"allowedProcMountTypes":["tempor laboris reprehenderit dolore dolor","dolor Lorem laborum occaecat"],"allowedUnsafeSysctls":["fugiat ipsum nostrud","minim veniam sit"],"defaultAddCapabilities":["minim velit","tempor anim non laborum et"],"defaultAllowPrivilegeEscalation":true,"forbiddenSysctls":["Excepteur anim","labore in commodo ullamco"],"hostIPC":true,"hostNetwork":false,"hostPID":true,"hostPorts":[{"min":-12878075,"max":-25681253},{"min":51882038,"max":79949010}],"privileged":false,"readOnlyRootFilesystem":true,"requiredDropCapabilities":["eu dolor Ut aute","ea sed sunt qui ut"],"runAsGroup":{"rule":"esse qui","ranges":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"runtimeClass":{"allowedRuntimeClassNames":["sunt","sed ex adipi"],"defaultRuntimeClassName":"cillum id veniam"},"volumes":["dolor labore","aliqua voluptate mollit"]}}