daniel-garcia / db-controller

A controller to create databases using a claim pattern.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db-controller

This project implements a database controller. It introduces a CRD that allows someone to create a database claim. That database claim will create a database in an existing postgres server, or it could create a cloud claim that will attach a database on demand. Additionally it will create user/password to the database and rotate them.

See db-controller docs for more detail on the db-controller.

Installation

TBD

The installation should create:

  • a stable role to own the schema and schema objects
  • at least two logins that the controller can jump between

Documentation

The docs are developed using mkdocs you can run a local server to view the rendered content before checking them into git:

mkdocs serve

Issues

  • The code doesn't implement the rotation strategy correctly.

About

A controller to create databases using a claim pattern.

License:Apache License 2.0


Languages

Language:Go 88.5%Language:Makefile 7.2%Language:Smarty 2.2%Language:Shell 1.1%Language:Dockerfile 1.0%