提交 1767631a 编写于 作者: S Sharif Elgamal

don't fail if token isn't valid

上级 36deb4cb
......@@ -88,12 +88,7 @@ func enableAddonGCPAuth(cfg *config.ClusterConfig) error {
return err
}
// Force here will allow tests to pass with false credentials
token, err := creds.TokenSource.Token()
if err != nil && !Force {
return err
}
// Only try to add secret if Token was found
if err == nil {
data := map[string][]byte{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册