Documentation ¶
Overview ¶
Package secret gets or creates service account secrets for cluster registration. (fleetcontroller)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceAccountTokenSecret ¶
func GetServiceAccountTokenSecret(sa *corev1.ServiceAccount, secretsController corecontrollers.SecretController) (*corev1.Secret, error)
GetServiceAccountTokenSecret gets or creates a secret for the service account. It waits 2 seconds for the data to be populated with a token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.