util

package
v3.6.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockercfgSecretNamePrefix

func GetDockercfgSecretNamePrefix(serviceAccount *kapi.ServiceAccount) string

func GetTokenSecretNamePrefix

func GetTokenSecretNamePrefix(serviceAccount *kapi.ServiceAccount) 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