From b9405cc11bed8c3172f763f0de6d8d2fd8752ccc Mon Sep 17 00:00:00 2001 From: Francisco Barros <francisco.borges.aurindo.barros@cern.ch> Date: Fri, 5 May 2023 10:23:29 +0200 Subject: [PATCH] Remove it_whitelist function --- controllers/drupalsite_resources.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/controllers/drupalsite_resources.go b/controllers/drupalsite_resources.go index 1ea567ed..e1ef2062 100644 --- a/controllers/drupalsite_resources.go +++ b/controllers/drupalsite_resources.go @@ -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 -- GitLab