SecurityContextArgs

data class SecurityContextArgs(val runAsUser: Output<Int>? = null) : ConvertibleToJava<SecurityContextArgs>

Not supported by Cloud Run. SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

Constructors

Link copied to clipboard
fun SecurityContextArgs(runAsUser: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SecurityContextArgs

Properties

Link copied to clipboard
val runAsUser: Output<Int>? = null

The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.