k3s-io / kine

Run Kubernetes on MySQL, Postgres, sqlite, dqlite, not etcd.
Apache License 2.0
1.56k stars 233 forks source link

[Feature Request]allow user specified table name instead of default "kine" #141

Open phuslu opened 1 year ago

phuslu commented 1 year ago

Creating a new standalone db is limited in our cases, also our table naming has a standard. E.g. "<project>_<module>_tab" So allow user specified the table name instead default "kine" is very useful. I go though the codebase and I found that it's a bit hard. I managed to work out a dirty patch on https://github.com/phuslu/kine/commits/master and works in our test env.

I know the patch is too dirty, so my question/feature request is, could k3s-io/kine consider to implement this option? thanks!