secret

package
v0.6.0-SURE-6125.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL