serviceaccount

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockercfgSecretNamePrefix

func GetDockercfgSecretNamePrefix(serviceAccountName string) string

func GetTokenSecretNamePrefix

func GetTokenSecretNamePrefix(serviceAccountName string) string

GetTokenSecretNamePrefix creates the prefix used for the generated SA token secret. This is compatible with kube up until long names, at which point we hash the SA name and leave the "token-" intact. Upstream clips the value and generates a random string. TODO fix the upstream implementation to be more like this.

Types

This section is empty.

Jump to

Keyboard shortcuts

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