]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: rewrite "config ssl/tls f. grafana"
authorZac Dover <zac.dover@gmail.com>
Mon, 10 May 2021 23:19:10 +0000 (09:19 +1000)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 17 Jun 2021 08:46:56 +0000 (10:46 +0200)
This PR streamlines the grammar in the subsection
called "Configuring SSL/TLS for Grafana" in the
monitoring.rst file. It also corrects the prompt
rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit b9554b0840d6973a3abc71d0f816e32c70202dd2)

doc/cephadm/monitoring.rst

index 8bf120a16e3c362b8b5ca59868eb3b1011ae4c98..14593b1bb18fae2f88906fde530cdc5cee43bd31 100644 (file)
@@ -124,26 +124,25 @@ services have been deployed, you should see something like this when you issue t
 Configuring SSL/TLS for Grafana
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-``cephadm`` will deploy Grafana using the certificate defined in the ceph
-key/value store. If a certificate is not specified, ``cephadm`` will generate a
-self-signed certificate during deployment of the Grafana service.
+``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.
 
-A custom certificate can be configured using the following commands.
+A custom certificate can be configured using the following commands:
 
-.. code-block:: bash
+.. 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
 
-If you already deployed Grafana, you need to ``reconfig`` the service for the
-configuration to be updated.
+If you have already deployed Grafana, run ``reconfig`` on the service to
+update its configuration:
 
-.. code-block:: bash
+.. prompt:: bash #
 
   ceph orch reconfig grafana
 
-The ``reconfig`` command also takes care of setting the right URL for Ceph
-Dashboard.
+The ``reconfig`` command also sets the proper URL for Ceph Dashboard.
 
 Networks and Ports
 ~~~~~~~~~~~~~~~~~~