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