Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 5.22 KB

ExtensionsV1beta1PodSecurityPolicySpec.md

File metadata and controls

31 lines (27 loc) · 5.22 KB

ExtensionsV1beta1PodSecurityPolicySpec

Properties

Name Type Description Notes
AllowPrivilegeEscalation bool allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. [optional]
AllowedCapabilities []string allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. [optional]
AllowedFlexVolumes []ExtensionsV1beta1AllowedFlexVolume allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. [optional]
AllowedHostPaths []ExtensionsV1beta1AllowedHostPath allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. [optional]
AllowedProcMountTypes []string AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. [optional]
AllowedUnsafeSysctls []string allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/_" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. [optional]
DefaultAddCapabilities []string defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. [optional]
DefaultAllowPrivilegeEscalation bool defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. [optional]
ForbiddenSysctls []string forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/_" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. [optional]
FsGroup ExtensionsV1beta1FsGroupStrategyOptions
HostIPC bool hostIPC determines if the policy allows the use of HostIPC in the pod spec. [optional]
HostNetwork bool hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. [optional]
HostPID bool hostPID determines if the policy allows the use of HostPID in the pod spec. [optional]
HostPorts []ExtensionsV1beta1HostPortRange hostPorts determines which host port ranges are allowed to be exposed. [optional]
Privileged bool privileged determines if a pod can request to be run as privileged. [optional]
ReadOnlyRootFilesystem bool readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. [optional]
RequiredDropCapabilities []string requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. [optional]
RunAsGroup ExtensionsV1beta1RunAsGroupStrategyOptions [optional]
RunAsUser ExtensionsV1beta1RunAsUserStrategyOptions
SeLinux ExtensionsV1beta1SeLinuxStrategyOptions
SupplementalGroups ExtensionsV1beta1SupplementalGroupsStrategyOptions
Volumes []string volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. [optional]

[Back to Model list] [Back to API list] [Back to README]