summaryrefslogtreecommitdiff
path: root/app/views/projects/services/prometheus/_help.html.haml
blob: 83d3faf658f4e2fdf7d86a4ca1934d5b2e9943e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%h4
  Auto configuration

.prepend-top-default.append-bottom-default
  - unless @service.manual_configuration?
    - if @service.prometheus_installed?
      = link_to 'Manage clusters', project_clusters_path(@project), class: 'btn'
    - else
      = link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
  - else
    .well
      To enable the installation of Prometheus on your clusters, deactivate the manual configuration below

%hr

%h4.append-bottom-default
  Manual configuration

- unless @service.editable?
  .well
    To enable manual configuration, uninstall Prometheus from your clusters