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.
Click to show internal directories.
Click to hide internal directories.