PodSpecV1.ServiceAccountName Property

Definition

Gets or sets the name of the Kubernetes Service Account that the pod should use. This account can provide access to specific Kubernetes resources or external services within the cluster. If left null or empty, the default Service Account in the pod's namespace will be used.

[YamlDotNet.Serialization.YamlMember(Alias="serviceAccountName")]
public string? ServiceAccountName { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="serviceAccountName")>]
member this.ServiceAccountName : string with get, set
Public Property ServiceAccountName As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to