PodSpecV1.ServiceAccount Property

Definition

Gets or sets the name of the service account to be used in the pod. A service account allows pods to access the Kubernetes API and other resources with appropriate permissions, and is useful for defining the identity under which the pod will run in the cluster.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to