Workload Service Account
This has similar usage to controlPlane.advanced.serviceAccount
but for use with workloads deployed to the virtual cluster.
If syncing ServiceAccount resources from the virtual cluster to the host cluster is enabled, the workloadServiceAccount
setting is ignored.
Config reference​
workloadServiceAccount
required object pro​
WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster.
workloadServiceAccount
required object pro​enabled
required boolean true pro​
Enabled specifies if the service account for the workloads should get deployed.
enabled
required boolean true pro​name
required string pro​
Name specifies what name to use for the service account for the virtual cluster workloads.
name
required string pro​imagePullSecrets
required object[] pro​
ImagePullSecrets defines extra image pull secrets for the workload service account.
imagePullSecrets
required object[] pro​name
required string pro​
Name of the image pull secret to use.
name
required string pro​annotations
required object {} pro​
Annotations are extra annotations for this resource.
annotations
required object {} pro​labels
required object {} pro​
Labels are extra labels for this resource.
labels
required object {} pro​