ceph-ansible/roles/ceph-dashboard/tasks
Guillaume Abrioux 27755f9bff dashboard: remove "certificate is valid for" error
When deploying dashboard with ssl certificates generated by
ceph-ansible, we enforce the CN to 'ceph-dashboard' which can makes
application such alertmanager complain like following:

`err="Post https://mgr0:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mgr0" context_err="context deadline exceeded"`

The idea here is to add alternative names matching all mgr/mon instances
in the certificate so this error won't appear in logs.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1978869

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 72a0336c71)
2021-07-07 17:19:00 +02:00
..
configure_dashboard.yml dashboard: remove "certificate is valid for" error 2021-07-07 17:19:00 +02:00
configure_grafana_layouts.yml Allow user to specify grafana_server_fqdn 2020-04-07 20:51:23 +02:00
main.yml Use ansible_facts 2021-03-26 00:04:49 +01:00