EDIVORCE-45 - Update configurations and documentation
- All of the RP and SiteMinder changes have been implemented. Update the configurations and documentation to reflect the changes.
- Remove the public route from the nginx configuration template, it is no longer used.
@ -141,10 +141,19 @@ Use `-h` to get advanced usage information. Use the `-l` option to apply any lo
#### Mandatory Settings:
PROXY_NETWORK
**PROXY_NETWORK**
While running `genDepls.sh` you will be prompted for the network address of the upstream proxy. This is used to ensure that requests come from the Justice Proxy only. You will need to enter the address in IPV4 CIDR notation e.g. 10.10.15.10/16. The actual value you need to enter cannot be stored on Github because this would violate BC Government Github policies. The PROXY_NETWORK setting is currently the same for all 3 environments (dev, test, and prod)
An example of the [edivorce-django-deploy.overrides.sh](./edivorce-django-deploy.overrides.sh) script prompting for the value to use for PROXY_NETWORK;
Loading parameter overrides for templates/edivorce-django/edivorce-django-deploy.yaml ...
Enter the network of the upstream proxy (in CIDR notation; for example 0.0.0.0/0); defaults to 0.0.0.0/0:
```
SITEMINDER_WHITE_LIST
While running `genDepls.sh` you will be prompted for a list of IP addresses that make up the white-list of hosts allowed to access the service.
@ -153,6 +162,62 @@ The list must be provided as a space delimited list of IP addresses.
The actual values cannot be stored on Github because this would violate BC Government Github policies. The addresses are different for each environment (dev, test, and prod).
An example of the [nginx-proxy-deploy.overrides.sh](./nginx-proxy-deploy.overrides.sh) script prompting for the value to use for SITEMINDER_WHITE_LIST;
Loading parameter overrides for templates/nginx-proxy/nginx-proxy-deploy.yaml ...
Enter the white list of trusted IP addresses that should be allowed to access the SiteMinder route (as a space delimited list of IP addresses):
```
This has the affect of adding the white-list to the `haproxy.router.openshift.io/ip_whitelist` element of the associated route configuration in the template [nginx-proxy-deploy.yaml](./templates/nginx-proxy/nginx-proxy-deploy.yaml)