PodSecurityContextV1.RunAsNonRoot Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the container should run as a non-root user. If set to true, it enforces that the container does not run as a root user. A value of null indicates no explicit preference.
[YamlDotNet.Serialization.YamlMember(Alias="runAsNonRoot")]
public bool? RunAsNonRoot { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="runAsNonRoot")>]
member this.RunAsNonRoot : Nullable<bool> with get, set
Public Property RunAsNonRoot As Nullable(Of Boolean)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute