Skip to content

Commit

Permalink
fix: gcp默认创建允许所有地址访问的用户
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Jun 2, 2020
1 parent 0d5be52 commit f73b3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/multicloud/google/dbinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func (rds *SDBInstance) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCr
}

func (rds *SDBInstance) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error {
return rds.region.CreateDBInstanceAccount(rds.SelfLink, conf.Name, conf.Password, "")
return rds.region.CreateDBInstanceAccount(rds.SelfLink, conf.Name, conf.Password, "%")
}

func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error) {
Expand Down

0 comments on commit f73b3ed

Please sign in to comment.