From 742db10c80eaa4acdb83608df8bd16004bbc3148 Mon Sep 17 00:00:00 2001 From: Marco Villeneuve Date: Wed, 18 Dec 2024 15:27:23 -0800 Subject: [PATCH] Added annotations for timeout --- tools/openshift/backend.dc.yaml | 3 --- tools/openshift/frontend-static.dc.yaml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/openshift/backend.dc.yaml b/tools/openshift/backend.dc.yaml index 68ac49e52..110396d6b 100644 --- a/tools/openshift/backend.dc.yaml +++ b/tools/openshift/backend.dc.yaml @@ -11,9 +11,6 @@ objects: kind: DeploymentConfig metadata: annotations: - haproxy.router.openshift.io/balance: roundrobin - haproxy.router.openshift.io/disable_cookies: 'true' - haproxy.router.openshift.io/timeout: 120s openshift.io/generated-by: OpenShiftNewApp creationTimestamp: labels: diff --git a/tools/openshift/frontend-static.dc.yaml b/tools/openshift/frontend-static.dc.yaml index 69ff0c0ae..deefd4689 100644 --- a/tools/openshift/frontend-static.dc.yaml +++ b/tools/openshift/frontend-static.dc.yaml @@ -11,9 +11,6 @@ objects: kind: DeploymentConfig metadata: annotations: - haproxy.router.openshift.io/balance: roundrobin - haproxy.router.openshift.io/disable_cookies: 'true' - haproxy.router.openshift.io/timeout: 120s openshift.io/generated-by: OpenShiftNewApp creationTimestamp: labels: @@ -105,6 +102,9 @@ objects: kind: Route metadata: annotations: + haproxy.router.openshift.io/balance: roundrobin + haproxy.router.openshift.io/disable_cookies: 'true' + haproxy.router.openshift.io/timeout: 120s openshift.io/host.generated: 'true' labels: app: "${APP_NAME}-${BRANCH}"