PodSpecV1.SecurityContext Property

Definition

Gets or sets the security context for a pod. The security context defines the security attributes applied to the entire pod, including user and group IDs, SELinux options, and windows security settings when applicable.

[YamlDotNet.Serialization.YamlMember(Alias="securityContext")]
public Aspire.Hosting.Kubernetes.Resources.PodSecurityContextV1? SecurityContext { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="securityContext")>]
member this.SecurityContext : Aspire.Hosting.Kubernetes.Resources.PodSecurityContextV1 with get, set
Public Property SecurityContext As PodSecurityContextV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to