From 7ee53c45f1122543491fce56ca6dd90b314b9482 Mon Sep 17 00:00:00 2001 From: bailey-robbins-sg <223331940+bailey-robbins-sg@users.noreply.github.com> Date: Wed, 29 Apr 2026 10:40:16 -0400 Subject: [PATCH 1/2] Swapped nginx default annotations for their OpenShift HAProxy equivalents. --- .../examples/openshift/override.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/charts/sourcegraph/examples/openshift/override.yaml b/charts/sourcegraph/examples/openshift/override.yaml index 6cdfac19..df8095bc 100644 --- a/charts/sourcegraph/examples/openshift/override.yaml +++ b/charts/sourcegraph/examples/openshift/override.yaml @@ -257,13 +257,17 @@ frontend: ingress: annotations: - # If using HAProxy router, add the timeout to prevent SSE / streaming timeouts - haproxy.router.openshift.io/timeout: 5m - kubernetes.io/ingress.class: openshift-default-example - nginx.ingress.kubernetes.io/proxy-body-size: 150m - # If terminating TLS on the router - route.openshift.io/termination: edge - host: sourcegraph.example.com + # Null out nginx defaults from values.yaml — not applicable + kubernetes.io/ingress.class: null + nginx.ingress.kubernetes.io/proxy-body-size: null + # HAProxy router: prevent SSE / streaming timeouts + haproxy.router.openshift.io/timeout: 5m + # HAProxy router: equivalent of nginx proxy-body-size, for large Git pushes / file uploads + haproxy.router.openshift.io/request-body-size: 150m + # TLS termination at the router + route.openshift.io/termination: edge + ingressClassName: openshift-default-example + host: sourcegraph.example.com ################################################################################ # Core services From 9341e90292a14c221a2c0737845b8ae5b643ba39 Mon Sep 17 00:00:00 2001 From: bailey-robbins-sg <223331940+bailey-robbins-sg@users.noreply.github.com> Date: Wed, 29 Apr 2026 10:42:58 -0400 Subject: [PATCH 2/2] spacing! --- .../examples/openshift/override.yaml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/charts/sourcegraph/examples/openshift/override.yaml b/charts/sourcegraph/examples/openshift/override.yaml index df8095bc..1a0cbe83 100644 --- a/charts/sourcegraph/examples/openshift/override.yaml +++ b/charts/sourcegraph/examples/openshift/override.yaml @@ -257,17 +257,17 @@ frontend: ingress: annotations: - # Null out nginx defaults from values.yaml — not applicable - kubernetes.io/ingress.class: null - nginx.ingress.kubernetes.io/proxy-body-size: null - # HAProxy router: prevent SSE / streaming timeouts - haproxy.router.openshift.io/timeout: 5m - # HAProxy router: equivalent of nginx proxy-body-size, for large Git pushes / file uploads - haproxy.router.openshift.io/request-body-size: 150m - # TLS termination at the router - route.openshift.io/termination: edge - ingressClassName: openshift-default-example - host: sourcegraph.example.com + # Null out nginx defaults from values.yaml — not applicable + kubernetes.io/ingress.class: null + nginx.ingress.kubernetes.io/proxy-body-size: null + # HAProxy router: prevent SSE / streaming timeouts + haproxy.router.openshift.io/timeout: 5m + # HAProxy router: equivalent of nginx proxy-body-size, for large Git pushes / file uploads + haproxy.router.openshift.io/request-body-size: 150m + # TLS termination at the router + route.openshift.io/termination: edge + ingressClassName: openshift-default-example + host: sourcegraph.example.com ################################################################################ # Core services