Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidServiceAccountKeyFile ¶
IsValidServiceAccountKeyFile returns true if a valid public RSA key can be read from the given file
Types ¶
type Config ¶
type Config struct { BasicAuthFile string ClientCAFile string TokenAuthFile string ServiceAccountKeyFiles []string ServiceAccountLookup bool ServiceAccountIssuer string APIAudiences authenticator.Audiences WebhookTokenAuthnConfigFile string WebhookTokenAuthnCacheTTL time.Duration TokenSuccessCacheTTL time.Duration TokenFailureCacheTTL time.Duration // TODO, this is the only non-serializable part of the entire config. Factor it out into a clientconfig ServiceAccountTokenGetter serviceaccount.ServiceAccountTokenGetter }
Config contains the data on how to authenticate a request to the Kube API Server
Click to show internal directories.
Click to hide internal directories.