Vnaumov | 248e34e | 2017-10-06 14:56:07 +0300 | [diff] [blame^] | 1 | --- |
| 2 | summary: > |
| 3 | Additional path for DevopsPortal nginx proxy service |
| 4 | |
| 5 | features: |
| 6 | - | |
| 7 | Possibility of defining additional path to service endpoints. Need to define 'custom_path' variable on system level metadata. |
| 8 | Result of endpoint looks like 'address:port/custom_path'. Main goal of this feature - auto loading special frame on DevopsPortal dashboard. |
| 9 | |
| 10 | Example: |
| 11 | .. code-block:: yaml |
| 12 | parameters: |
| 13 | _param: |
| 14 | grafana_prometheus_ssl: |
| 15 | enabled: false |
| 16 | devops_portal: |
| 17 | config: |
| 18 | service: |
| 19 | stacklight-prometheus: |
| 20 | configure_proxy: false |
| 21 | enabled: true |
| 22 | endpoint: |
| 23 | address: ${_param:grafana_prometheus_address} |
| 24 | custom_path: alerts |
| 25 | port: ${_param:grafana_prometheus_port} |
| 26 | https: ${_param:grafana_prometheus_ssl:enabled} |
| 27 | |
| 28 | |
| 29 | fixes: |
| 30 | - related bug: https://mirantis.jira.com/browse/PROD-15068 |