secret

package
v0.8.0-rc.5 Latest Latest
Warning

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

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

Documentation

Overview

Package secret gets or creates service account secrets for cluster registration.

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