default nginx-proxy config for OSS
related us: https://mirantis.jira.com/browse/PROD-14376
Change-Id: Idf56f3c08b1f1b090ca6d5b53158750ad72c1fbb
diff --git a/.releasenotes/notes/dop-proxy-2427ec3814c4b467.yaml b/.releasenotes/notes/dop-proxy-2427ec3814c4b467.yaml
new file mode 100644
index 0000000..9ce4d3b
--- /dev/null
+++ b/.releasenotes/notes/dop-proxy-2427ec3814c4b467.yaml
@@ -0,0 +1,15 @@
+---
+prelude: >
+ Default proxy configuration for Devops Portal Dasboard and Rundeck Service added
+features:
+ - |
+ In case of using OSS through proxy configurations,
+ need to define following classes for proxy nodes on cluster level 'cluster_name/stacklight/proxy.yml' or 'cluster_name/openstack/proxy.yml':
+
+ .. code-block:: yaml
+ - system.nginx.server.proxy.oss.devops_portal
+ - system.nginx.server.proxy.oss.rundeck
+
+fixes:
+ - |
+ https://mirantis.jira.com/browse/PROD-14376
diff --git a/nginx/server/proxy/oss/devops_portal.yml b/nginx/server/proxy/oss/devops_portal.yml
new file mode 100644
index 0000000..7e313bc
--- /dev/null
+++ b/nginx/server/proxy/oss/devops_portal.yml
@@ -0,0 +1,20 @@
+parameters:
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_devops_portal:
+ enabled: true
+ type: nginx_proxy
+ name: devops_portal
+ check: false
+ proxy:
+ host: ${_param:stacklight_monitor_address}
+ port: 8800
+ protocol: http
+ websocket: true
+ host:
+ name: ${_param:cluster_public_host}
+ port: 8800
+ protocol: https
+ ssl: ${_param:nginx_proxy_ssl}
diff --git a/nginx/server/proxy/oss/rundeck.yml b/nginx/server/proxy/oss/rundeck.yml
new file mode 100644
index 0000000..e6a0303
--- /dev/null
+++ b/nginx/server/proxy/oss/rundeck.yml
@@ -0,0 +1,20 @@
+parameters:
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_rundeck:
+ enabled: true
+ type: nginx_proxy
+ name: rundeck
+ check: false
+ proxy:
+ host: ${_param:stacklight_monitor_address}
+ port: 4440
+ protocol: http
+ websocket: true
+ host:
+ name: ${_param:cluster_public_host}
+ port: 4440
+ protocol: https
+ ssl: ${_param:nginx_proxy_ssl}