BoundServiceAccountTokenVolume: fix InClusterConfig

Kubernetes-commit: 4198f28855cbda6dac61408fcba6f2d576a9347c
This commit is contained in:
Mike Danese
2019-05-14 09:29:16 -07:00
committed by Kubernetes Publisher
parent 78e94f51a0
commit 459cb72bc6
2 changed files with 6 additions and 3 deletions

View File

@@ -74,9 +74,10 @@ func (c *Config) TransportConfig() (*transport.Config, error) {
KeyFile: c.KeyFile,
KeyData: c.KeyData,
},
Username: c.Username,
Password: c.Password,
BearerToken: c.BearerToken,
Username: c.Username,
Password: c.Password,
BearerToken: c.BearerToken,
BearerTokenFile: c.BearerTokenFile,
Impersonate: transport.ImpersonationConfig{
UserName: c.Impersonate.UserName,
Groups: c.Impersonate.Groups,