relaycorp / cloud-gateway

Infrastructure as Code and configuration for all Awala-Internet Gateways run by Relaycorp
MIT License
1 stars 1 forks source link

Replace MongoDB with GCP Firestore as backend for key/value configuration #87

Closed gnarea closed 2 years ago

gnarea commented 2 years ago

Describe the problem

Once #86 is done, a whole HA MongoDB cluster would only be used to store 2-3 entries in a key/value table... Which is a bit of an overkill.

Describe the solution you'd like

Use a Kubernetes ConfigMap for this key/value configuration. It'd be good to implement the core of it as a separate library so it can also be used in https://github.com/relaycorp/relaynet-pong/issues/26

TODO:

Additional context

See also:

gnarea commented 2 years ago

I'm changing my mind: I think having a pluggable DB is going to cause too many maintenance issues.