Enable LDAP in the Juju options
Bug #1877796 reported by
Dev Singh
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
Wishlist
|
Chris Johnston |
Bug Description
There should be a boolean option that enables LDAP authentication in the grafana.ini config, so that the manual enable is not overwritten by juju.
Related branches
~cjohnston/charm-grafana:lp1877796-ldap-integration
- 🤖 prod-jenkaas-bootstack (community): Needs Fixing (continuous-integration)
- James Troup (community): Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 1070 lines (+637/-41)18 files modifiedsrc/README.md (+33/-0)
src/actions/do-upgrade (+5/-1)
src/config.yaml (+59/-0)
src/lib/charms/layer/grafana.py (+117/-9)
src/reactive/grafana.py (+119/-7)
src/templates/grafana.ini.j2 (+5/-0)
src/templates/ldap.toml.j2 (+58/-0)
src/tests/functional/tests/bundles/base.yaml (+4/-1)
src/tests/functional/tests/bundles/overlays/focal-self-signed-cert.yaml.j2 (+2/-0)
src/tests/functional/tests/bundles/overlays/focal-snap-self-signed-cert.yaml.j2 (+2/-0)
src/tests/functional/tests/bundles/overlays/focal-snap-tls.yaml.j2 (+2/-0)
src/tests/functional/tests/bundles/overlays/focal-snap.yaml.j2 (+3/-1)
src/tests/functional/tests/bundles/overlays/focal-tls.yaml.j2 (+2/-0)
src/tests/functional/tests/bundles/overlays/focal.yaml.j2 (+3/-1)
src/tests/functional/tests/bundles/overlays/xenial-tls.yaml.j2 (+2/-0)
src/tests/functional/tests/bundles/overlays/xenial.yaml.j2 (+2/-0)
src/tests/functional/tests/test_grafana.py (+218/-21)
src/tests/unit/requirements.txt (+1/-0)
tags: | added: wishlist |
tags: | removed: wishlist |
summary: |
- Enable LDAP in the Juju Charm + Enable LDAP in the Juju options |
Changed in charm-grafana: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in charm-grafana: | |
status: | Triaged → In Progress |
Changed in charm-grafana: | |
status: | In Progress → Fix Committed |
Changed in charm-grafana: | |
milestone: | none → 21.10 |
milestone: | 21.10 → 22.10 |
Changed in charm-grafana: | |
status: | Fix Committed → Fix Released |
Changed in charm-grafana: | |
status: | Fix Released → Fix Committed |
Changed in charm-grafana: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
LDAP integration would be excellent in this charm.
For managed services needs, we may need to find a way to configure LDAP auth for only user management, but provide that authorization is still managed in the grafana interface by the grafana admin account. Or, if LDAP is configured, configure it only for a sub-organization.