Jiri Broulik | 3444659 | 2017-09-12 17:07:31 +0200 | [diff] [blame] | 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Added system metadata classes to deploy reverse proxy support for |
| 5 | Jenkins and Gerrit services. When enabled, these services can be |
| 6 | accessed through a public URL or DNS. |
| 7 | |
| 8 | **To apply the change to your deployment:** |
| 9 | |
| 10 | #. Add the following classes to |
| 11 | ``cluster.<CLUSTER_NAME>.openstack.proxy.yml``: |
| 12 | |
| 13 | .. code-block:: yaml |
| 14 | |
| 15 | classes: |
| 16 | - system.nginx.server.proxy.cicd.gerrit |
| 17 | - system.nginx.server.proxy.cicd.jenkins |
| 18 | |
| 19 | #. Set up the following parameters in |
| 20 | ``cluster.<CLUSTER_NAME>.cicd.control.init.yml``: |
| 21 | |
| 22 | .. code-block:: yaml |
| 23 | |
| 24 | parameters: |
| 25 | _param: |
| 26 | nginx_proxy_gerrit_server_site_host: ${_param:openstack_proxy_address} |
| 27 | nginx_proxy_gerrit_server_site_port: 8080 |
| 28 | gerrit_http_listen_url: proxy-https://*:8080/ |
| 29 | gerrit_public_host: https://${_param:nginx_proxy_gerrit_server_site_host}:${_param:nginx_proxy_gerrit_server_site_port} |
| 30 | |