Skip to content

Commit

Permalink
mysql upgrade little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Mar 11, 2022
1 parent 2989b6c commit 51aafe6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/3scale/amp/operator/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,7 @@ func (u *UpgradeApiManager) upgradeMysqlConfigmap() (reconcile.Result, error) {
}

if _, ok := mysqlExtraConfigMap.Data["mysql-default-authentication-plugin.cnf"]; !ok {
mysqlExtraConfigMap.Data["mysql-default-authentication-plugin.cnf"] = `
[mysqld]
mysqlExtraConfigMap.Data["mysql-default-authentication-plugin.cnf"] = `[mysqld]
default_authentication_plugin=mysql_native_password
`
err = u.UpdateResource(mysqlExtraConfigMap)
Expand Down

0 comments on commit 51aafe6

Please sign in to comment.