lunarway / postgresql-controller

PostgreSQL controller for managing database user access through kubernetes custom resources
Apache License 2.0
9 stars 2 forks source link

Installation Documentation? #80

Open weberc2 opened 2 years ago

weberc2 commented 2 years ago

Hello, thanks for making this controller--it seems like exactly what I need for my hobby Kubernetes cluster; however, I'm not sure how to actually install this. Unless I missed something, the README doesn't include installation instructions, and I didn't see any manifest files in the repo. I also tried Googling, searching the Helm hub, etc but no luck. If someone could get me pointed in the right direction, I'd be happy to submit a PR for the README. Thanks! 🙏

Crevil commented 2 years ago

I don't think the docs are very clear. There is some Kubernetes configuration manifests available in https://github.com/lunarway/postgresql-controller/tree/master/config which should get you going.

The project is pretty tied to Lunar so it might not be trivial to get running elsewhere, but if we can do some changes to make it usable let us know.

omercnet commented 8 months ago

what's missing is a chart or deployment yaml for the controller itself I see it's published in https://quay.io/repository/lunarway/postgresql-controller

if this project is still in active development I'm happy to contribute so it's more usable

Crevil commented 8 months ago

In the link I posted above you can find examples of resources and their configuration.

As mentioned this is a very specific project for Lunar developed in the open. We are not using helm nor do we intend to adopt that so having a chart in this repo is not in scope for us as that moves maintenance on our responsibility.

omercnet commented 8 months ago

how would you recommend deploying this controller (not the CRs it manages) ?

Crevil commented 8 months ago

By making a Deployment and granting the required roles as the config shows.