Merge ~cjwatson/launchpad:charm-launchpad-admin into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 43dd651ea33c4cd88cc6c39022b21baa4ec0a86e |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:charm-launchpad-admin |
Merge into: | launchpad:master |
Diff against target: |
334 lines (+255/-1) 11 files modified
charm/Makefile (+6/-1) charm/launchpad-admin/README.md (+22/-0) charm/launchpad-admin/charmcraft.yaml (+58/-0) charm/launchpad-admin/layer.yaml (+21/-0) charm/launchpad-admin/metadata.yaml (+21/-0) charm/launchpad-admin/reactive/launchpad-admin.py (+71/-0) charm/launchpad-admin/templates/bash_aliases.j2 (+9/-0) charm/launchpad-admin/templates/db-admin.j2 (+10/-0) charm/launchpad-admin/templates/db-session.j2 (+10/-0) charm/launchpad-admin/templates/db.j2 (+10/-0) charm/launchpad-admin/templates/launchpad-admin-lazr.conf (+17/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guruprasad | Approve | ||
Review via email:
|
Commit message
charm: Add a simple launchpad-admin charm
Description of the change
This is useful as a way to get hold of database superuser credentials in a charmed deployment, without having to SSH into a `postgresql` unit directly.
For now this is just for interactive use, but I can think of a couple of natural future extensions: we could do with an action to initialize a new Launchpad database, and it might well make sense to use this charm as a place to run our schema upgrade machinery.
To post a comment you must log in.
I don't understand some of the things very well since I haven't seen them in action, but the code changes look good to me. ๐๐ผ