Skip to content
Snippets Groups Projects

Remove ip_whitelist function from the DrupalSite Operator

Merged Francisco Borges Aurindo Barros requested to merge remove-ip-whitelist into master
1 file
+ 0
3
Compare changes
  • Side-by-side
  • Inline
@@ -1257,9 +1257,6 @@ func routeForDrupalSite(currentobject *routev1.Route, d *webservicesv1a1.DrupalS
currentobject.Labels[k] = v
}
if _, exists := d.Annotations["haproxy.router.openshift.io/ip_whitelist"]; exists {
currentobject.Annotations["haproxy.router.openshift.io/ip_whitelist"] = d.Annotations["haproxy.router.openshift.io/ip_whitelist"]
}
// Set timeout to 60sec: https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/642
currentobject.Annotations["haproxy.router.openshift.io/timeout"] = "200s"
currentobject.Spec.Host = Url
Loading