]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: fixing grafana cet/key generation documentation 48374/head
authorRedouane Kachach <rkachach@redhat.com>
Wed, 5 Oct 2022 14:36:15 +0000 (16:36 +0200)
committerRedouane Kachach <rkachach@redhat.com>
Fri, 7 Oct 2022 15:45:05 +0000 (17:45 +0200)
Fixes: https://tracker.ceph.com/issues/57769
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
doc/cephadm/services/monitoring.rst

index 0f67d3f0044e6d962fca6c45cc042f3c2e4f8c22..5a0bdb385ed9bee594fee982a8230ac9024481f4 100644 (file)
@@ -408,14 +408,17 @@ Configuring SSL/TLS for Grafana
 
 ``cephadm`` deploys Grafana using the certificate defined in the ceph
 key/value store. If no certificate is specified, ``cephadm`` generates a
-self-signed certificate during the deployment of the Grafana service.
+self-signed certificate during the deployment of the Grafana service. Each
+certificate is specific for the host it was generated on.
 
 A custom certificate can be configured using the following commands:
 
 .. prompt:: bash #
 
-  ceph config-key set mgr/cephadm/grafana_key -i $PWD/key.pem
-  ceph config-key set mgr/cephadm/grafana_crt -i $PWD/certificate.pem
+  ceph config-key set mgr/cephadm/{hostname}/grafana_key -i $PWD/key.pem
+  ceph config-key set mgr/cephadm/{hostname}/grafana_crt -i $PWD/certificate.pem
+
+Where `hostname` is the hostname for the host where grafana service is deployed.
 
 If you have already deployed Grafana, run ``reconfig`` on the service to
 update its configuration: