Skip to content

Commit 26a90e9

Browse files
committed
Update defaults
1 parent 9fc9f65 commit 26a90e9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/internal/mysqlcluster/defaults.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ func (cluster *MysqlCluster) SetDefaults(opt *options.Options) {
7979
}
8080
}
8181

82-
// set default service type
83-
if cluster.Spec.ServiceSpec.ServiceType == "" {
84-
cluster.Spec.ServiceSpec.ServiceType = core.ServiceTypeClusterIP
85-
}
86-
8782
// configure mysql based on:
8883
// https://www.percona.com/blog/2018/03/26/mysql-8-0-innodb_dedicated_server-variable-optimizes-innodb/
8984

0 commit comments

Comments
 (0)