PodSpecV1.ServiceAccount 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.
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