Skip to content

Commit

Permalink
Add MySQL Router constant (#805)
Browse files Browse the repository at this point in the history
Signed-off-by: Mehedi Hasan <[email protected]>
  • Loading branch information
heheh13 authored Oct 8, 2021
1 parent ee093b4 commit 4937544
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apis/kubedb/v1alpha2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,14 @@ const (
MySQLTLSConfigFalse = "false"
MySQLTLSConfigPreferred = "preferred"

MySQLRouterContainerName = "mysql-router"
MySQLRouterContainerName = "mysql-router"
MySQLRouterInitScriptDirectoryName = "init-scripts"
MySQLRouterInitScriptDirectoryPath = "/scripts"
MySQLRouterConfigDirectoryName = "router-config-secret"
MySQLRouterConfigDirectoryPath = "/etc/mysqlrouter"
MySQLRouterTLSDirectoryName = "router-tls-volume"
MySQLRouterTLSDirectoryPath = "/etc/mysql/certs"
MySQLReplicationUser = "repl"

MySQLComponentKey = MySQLKey + "/component"
MySQLComponentDB = "database"
Expand Down

0 comments on commit 4937544

Please sign in to comment.