pass 6 specific env vars to make_mycnf hook#4346
Conversation
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
|
It looks like a minimum of If the hook were also to have access to the exported members of the |
|
Actually the scripts are already consistent. Environment variables are uppercase and local script variables are lowercase. tablet_type is a local variable in these scripts.
|
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
|
@derekperkins Can you take a look at the change to the examples? Do we want to make a similar change for the kubernetes example? |
sougou
left a comment
There was a problem hiding this comment.
Let's get this through. If fixes are needed in k8s, we can do that later.
|
+1 |
The env variables that are being passed to make_mycnf are:
KEYSPACE
SHARD
TABLET_TYPE
TABLET_ID
TABLET_DIR
Edit: Added one more:
MYSQL_PORT
Signed-off-by: deepthi deepthi@planetscale.com