Need a way to customize Router Error pages
Per Nic Request, I did this on Production:
oc project default
oc -n default rsh $(oc -n default get po -l router=router --template="{{ (index .items 0).metadata.name }}") cat haproxy-config.template > haproxy-config.template
(edited the file to have /mnt/error.http as the 503 page)
oc create configmap customrouterconfig --from-file=haproxy-config.template -n default
oc set volume dc/router --add --overwrite --name=config-volume --mount-path=/var/lib/haproxy/conf/custom --source='{"configMap": { "name": "customrouterconfig"}}' -n default
oc set env dc/router TEMPLATE_FILE=/var/lib/haproxy/conf/custom/haproxy-config.template -n default
oc set volume dc/router --add -t configmap --name custom-configs --configmap-name=custom-application-unavailable -m /mnt/ --overwrite```
Edited by Taylor Biggs