Project

General

Profile

Feature #55490

cephadm: allow passing grafana cert and frontend-api-url in spec

Added by Voja Molani almost 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

It seems currently there is no way to pass grafana SSL certificate in a spec, so grafana certificate cannot be configured along with everything else when bootstrapping a cluster.

Spec for grafana should accept ssl_cert similarly to the RGW service so that operator does not need to set it later with ceph config-key set mgr/cephadm/grafana_{key,crt} commands.

Another addition to service spec should be the grafana-frontend-api-url configuration parameter, currently this one needs to also be configured manually after bootstrapping a cluster with ceph dashboard set-grafana-frontend-api-url. I see that defining this spec might not be so straightforward - it is a dashboard variable so would grafana spec be the wrong place for it?

History

#1 Updated by Redouane Kachach Elhichou over 1 year ago

  • Assignee set to Redouane Kachach Elhichou

#2 Updated by Voja Molani over 1 year ago

The OP mentioned set-grafana-frontend-api-url but missed mentioning setting set-grafana-api-url from a spec which may be even more important than the former.

#3 Updated by Redouane Kachach Elhichou about 1 year ago

  • Assignee deleted (Redouane Kachach Elhichou)

Also available in: Atom PDF