SecurityContextV1.RunAsUser Property

Definition

Specifies the user ID to run the container process as. Setting this property provides a security mechanism to ensure that the container process runs with the specified user privileges rather than the default root user. A null value or unset property indicates that the default user ID defined in the container image or configuration will be used.

[YamlDotNet.Serialization.YamlMember(Alias="runAsUser")]
public long? RunAsUser { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="runAsUser")>]
member this.RunAsUser : Nullable<int64> with get, set
Public Property RunAsUser As Nullable(Of Long)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to