Name: securitycontextconstraints.security.openshift.io Namespace: Labels: Annotations: api-approved.openshift.io: https://github.com/openshift/api/pull/470 api.openshift.io/merged-by-featuregates: true include.release.openshift.io/ibm-cloud-managed: true include.release.openshift.io/self-managed-high-availability: true release.openshift.io/bootstrap-required: true API Version: apiextensions.k8s.io/v1 Kind: CustomResourceDefinition Metadata: Creation Timestamp: 2026-06-11T13:38:42Z Generation: 1 Resource Version: 210 UID: 69269d80-ba41-4c68-8795-c39e3ae4c48e Spec: Conversion: Strategy: None Group: security.openshift.io Names: Kind: SecurityContextConstraints List Kind: SecurityContextConstraintsList Plural: securitycontextconstraints Short Names: scc Singular: securitycontextconstraints Scope: Cluster Versions: Additional Printer Columns: Description: Determines if a container can request to be run as privileged Json Path: .allowPrivilegedContainer Name: Priv Type: string Description: A list of capabilities that can be requested to add to the container Json Path: .allowedCapabilities Name: Caps Type: string Description: Strategy that will dictate what labels will be set in the SecurityContext Json Path: .seLinuxContext.type Name: SELinux Type: string Description: Strategy that will dictate what RunAsUser is used in the SecurityContext Json Path: .runAsUser.type Name: RunAsUser Type: string Description: Strategy that will dictate what fs group is used by the SecurityContext Json Path: .fsGroup.type Name: FSGroup Type: string Description: Strategy that will dictate what supplemental groups are used by the SecurityContext Json Path: .supplementalGroups.type Name: SupGroup Type: string Description: Sort order of SCCs Json Path: .priority Name: Priority Type: string Description: Force containers to run with a read only root file system Json Path: .readOnlyRootFilesystem Name: ReadOnlyRootFS Type: string Description: White list of allowed volume plugins Json Path: .volumes Name: Volumes Type: string Name: v1 Schema: openAPIV3Schema: Description: SecurityContextConstraints governs the ability to make requests that affect the SecurityContext that will be applied to a container. For historical reasons SCC was exposed under the core Kubernetes API group. That exposure is deprecated and will be removed in a future release - users should instead use the security.openshift.io group to manage SecurityContextConstraints. Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). Properties: Allow Host Dir Volume Plugin: Description: AllowHostDirVolumePlugin determines if the policy allow containers to use the HostDir volume plugin Type: boolean Allow Host IPC: Description: AllowHostIPC determines if the policy allows host ipc in the containers. Type: boolean Allow Host Network: Description: AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec. Type: boolean Allow Host PID: Description: AllowHostPID determines if the policy allows host pid in the containers. Type: boolean Allow Host Ports: Description: AllowHostPorts determines if the policy allows host ports in the containers. Type: boolean Allow Privilege Escalation: Description: AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. Nullable: true Type: boolean Allow Privileged Container: Description: AllowPrivilegedContainer determines if a container can request to be run as privileged. Type: boolean Allowed Capabilities: Description: 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 '*'. Items: Description: Capability represent POSIX capabilities type Type: string Nullable: true Type: array Allowed Flex Volumes: Description: 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. Items: Description: AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Properties: Driver: Description: Driver is the name of the Flexvolume driver. Type: string Required: driver Type: object Nullable: true Type: array Allowed Unsafe Sysctls: Description: 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. Items: Type: string Nullable: true Type: array API Version: Description: 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources Type: string Default Add Capabilities: Description: 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. Items: Description: Capability represent POSIX capabilities type Type: string Nullable: true Type: array Default Allow Privilege Escalation: Description: DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. Nullable: true Type: boolean Forbidden Sysctls: Description: 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. Items: Type: string Nullable: true Type: array Fs Group: Description: FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. Nullable: true Properties: Ranges: Description: Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Items: Description: IDRange provides a min/max of an allowed range of IDs. TODO: this could be reused for UIDs. Properties: Max: Description: Max is the end of the range, inclusive. Format: int64 Type: integer Min: Description: Min is the start of the range, inclusive. Format: int64 Type: integer Type: object Type: array Type: Description: Type is the strategy that will dictate what FSGroup is used in the SecurityContext. Type: string Type: object Groups: Description: The groups that have permission to use this security context constraints Items: Type: string Nullable: true Type: array Kind: Description: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Type: string Metadata: Type: object Priority: Description: 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. An unset value is considered a 0 priority. If scores for multiple SCCs are equal they will be sorted from most restrictive to least restrictive. If both priorities and restrictions are equal the SCCs will be sorted by name. Format: int32 Nullable: true Type: integer Read Only Root Filesystem: Description: 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. Type: boolean Required Drop Capabilities: Description: RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. Items: Description: Capability represent POSIX capabilities type Type: string Nullable: true Type: array Run As User: Description: RunAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext. Nullable: true Properties: Type: Description: Type is the strategy that will dictate what RunAsUser is used in the SecurityContext. Type: string UID: Description: UID is the user id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated uids. Format: int64 Type: integer UID Range Max: Description: UIDRangeMax defines the max value for a strategy that allocates by range. Format: int64 Type: integer UID Range Min: Description: UIDRangeMin defines the min value for a strategy that allocates by range. Format: int64 Type: integer Type: object Se Linux Context: Description: SELinuxContext is the strategy that will dictate what labels will be set in the SecurityContext. Nullable: true Properties: Se Linux Options: Description: seLinuxOptions required to run as; required for MustRunAs Properties: Level: Description: Level is SELinux level label that applies to the container. Type: string Role: Description: Role is a SELinux role label that applies to the container. Type: string Type: Description: Type is a SELinux type label that applies to the container. Type: string User: Description: User is a SELinux user label that applies to the container. Type: string Type: object Type: Description: Type is the strategy that will dictate what SELinux context is used in the SecurityContext. Type: string Type: object Seccomp Profiles: Description: 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. Items: Type: string Nullable: true Type: array Supplemental Groups: Description: SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. Nullable: true Properties: Ranges: Description: Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Items: Description: IDRange provides a min/max of an allowed range of IDs. TODO: this could be reused for UIDs. Properties: Max: Description: Max is the end of the range, inclusive. Format: int64 Type: integer Min: Description: Min is the start of the range, inclusive. Format: int64 Type: integer Type: object Type: array Type: Description: Type is the strategy that will dictate what supplemental groups is used in the SecurityContext. Type: string Type: object Users: Description: The users who have permissions to use this security context constraints Items: Type: string Nullable: true Type: array Volumes: Description: 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 "*". To allow no volumes, set to ["none"]. Items: Description: FS Type gives strong typing to different file systems that are used by volumes. Type: string Nullable: true Type: array Required: allowHostDirVolumePlugin allowHostIPC allowHostNetwork allowHostPID allowHostPorts allowPrivilegedContainer allowedCapabilities defaultAddCapabilities priority readOnlyRootFilesystem requiredDropCapabilities volumes Type: object Served: true Storage: true Status: Accepted Names: Kind: SecurityContextConstraints List Kind: SecurityContextConstraintsList Plural: securitycontextconstraints Short Names: scc Singular: securitycontextconstraints Conditions: Last Transition Time: 2026-06-11T13:38:42Z Message: no conflicts found Reason: NoConflicts Status: True Type: NamesAccepted Last Transition Time: 2026-06-11T13:38:42Z Message: the initial names have been accepted Reason: InitialNamesAccepted Status: True Type: Established Stored Versions: v1 Events: