Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 4.93 KB

V1SecurityContextConstraints.md

File metadata and controls

31 lines (27 loc) · 4.93 KB

V1SecurityContextConstraints

Properties

Name Type Description Notes
allow_host_dir_volume_plugin bool AllowHostDirVolumePlugin determines if the policy allow containers to use the HostDir volume plugin
allow_host_ipc bool AllowHostIPC determines if the policy allows host ipc in the containers.
allow_host_network bool AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
allow_host_pid bool AllowHostPID determines if the policy allows host pid in the containers.
allow_host_ports bool AllowHostPorts determines if the policy allows host ports in the containers.
allow_privileged_container bool AllowPrivilegedContainer determines if a container can request to be run as privileged.
allowed_capabilities list[str] AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field maybe added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. To allow all capabilities you may use '*'.
api_version str APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources [optional]
default_add_capabilities list[str] 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 capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.
fs_group V1FSGroupStrategyOptions FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. [optional]
groups list[str] The groups that have permission to use this security context constraints [optional]
kind str Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds [optional]
metadata V1ObjectMeta Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata [optional]
priority int Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name.
read_only_root_filesystem 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 SCC 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.
required_drop_capabilities list[str] RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
run_as_user V1RunAsUserStrategyOptions RunAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext. [optional]
se_linux_context V1SELinuxContextStrategyOptions SELinuxContext is the strategy that will dictate what labels will be set in the SecurityContext. [optional]
seccomp_profiles list[str] SeccompProfiles lists the allowed profiles that may be set for the pod or container's seccomp annotations. An unset (nil) or empty value means that no profiles may be specifid by the pod or container. The wildcard '*' may be used to allow all profiles. When used to generate a value for a pod the first non-wildcard profile will be used as the default. [optional]
supplemental_groups V1SupplementalGroupsStrategyOptions SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. [optional]
users list[str] The users who have permissions to use this security context constraints [optional]
volumes list[str] Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'.

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