From 4937544e23b595f3d28851bd78024d19a66d34c8 Mon Sep 17 00:00:00 2001 From: Mehedi Hasan <39819064+heheh13@users.noreply.github.com> Date: Fri, 8 Oct 2021 06:18:14 -0400 Subject: [PATCH] Add MySQL Router constant (#805) Signed-off-by: Mehedi Hasan --- apis/kubedb/v1alpha2/constants.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apis/kubedb/v1alpha2/constants.go b/apis/kubedb/v1alpha2/constants.go index 22e01565b6..a49ce5e290 100644 --- a/apis/kubedb/v1alpha2/constants.go +++ b/apis/kubedb/v1alpha2/constants.go @@ -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"