description |
---|
Annotate Routes for things like timeouts or whitelisting. |
oc annotate route <route-name> --overwrite haproxy.router.openshift.io/timeout=180s
oc annotate route <route-name> --overwrite haproxy.router.openshift.io/ip_whitelist=’142.0.0.0/8’
The above can also be done via the GUI by edting the YAML of the route:
metadata:
annotations:
haproxy.router.openshift.io/ip_whitelist: 142.0.0.0/8
haproxy.router.openshift.io/timeout: 180s