Actions
Documentation #47637
closedmgr/cephadm: document how to configure custom TLS certificate for Grafana
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm/monitoring
Target version:
-
% Done:
0%
Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:
Description
The documentation is missing the description of the configuration options necessary to set a custom TLS certificate for Grafana.
Updated by Sebastian Wagner over 3 years ago
- Related to Documentation #45937: cephadm: setting the various certificates added
Updated by Sebastian Wagner almost 3 years ago
- Assignee deleted (
Patrick Seidensal)
Updated by Kai Stian Olstad almost 3 years ago
This is how I did it
Since cephadm shell ceph config-key set mgr/cephadm/grafana_crt -i <cert-file>
can't read files from the host, I needed to run cephadm shell
, then it will then than have access to /var/lib/ceph/<fsid>/home/ in /root in cephadm shell.
cp <cert-file> <key-file> /var/lib/ceph/*/home/ cephadm shell ceph config-key set mgr/cephadm/grafana_crt -i /root/<cert-file> ceph config-key set mgr/cephadm/grafana_key -i /root/<key-file> ceph orch daemon reconfig $(ceph orch ps | grep grafana | cut -f1 -d" ") exit
I did not find a way to reference the grafana daemon directly hence the grep and cut command.
Updated by Kai Stian Olstad almost 3 years ago
Reconfigure can be done easier with
ceph orch reconfig grafana
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Resolved
Updated by Redouane Kachach Elhichou almost 2 years ago
- Related to Bug #56508: haproxy check fails for ceph-grafana service added
Actions