orchestracities / anubis

Anubis: a flexible policy enforcement solution for NGSI APIs (and beyond!)
https://anubis-pep.readthedocs.org
Apache License 2.0
7 stars 5 forks source link

DB bootstrap #220

Open c0c0n3 opened 1 year ago

c0c0n3 commented 1 year ago

Describe the bug In principle Anubis can create and populate its own DB that automatically. But I hit a snag when I was developing the cloud deployment

Let's check that and possibly plan for a semi-automated deployment where we manually create a basic DB (even better if we whip together a SQL script) and then let Anubis populate it with its own tables as it'd normally do.

To Reproduce See document linked above.

Expected behavior Given a Postgres user with create DB perms, Anubis should be able to create its own DB in a cloud deployment---i.e. when running inside a K8s pod.