Skip to content

Commit 7ee53c4

Browse files
Swapped nginx default annotations for their OpenShift HAProxy equivalents.
1 parent b7549ff commit 7ee53c4

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

charts/sourcegraph/examples/openshift/override.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,17 @@ frontend:
257257

258258
ingress:
259259
annotations:
260-
# If using HAProxy router, add the timeout to prevent SSE / streaming timeouts
261-
haproxy.router.openshift.io/timeout: 5m
262-
kubernetes.io/ingress.class: openshift-default-example
263-
nginx.ingress.kubernetes.io/proxy-body-size: 150m
264-
# If terminating TLS on the router
265-
route.openshift.io/termination: edge
266-
host: sourcegraph.example.com
260+
# Null out nginx defaults from values.yaml — not applicable
261+
kubernetes.io/ingress.class: null
262+
nginx.ingress.kubernetes.io/proxy-body-size: null
263+
# HAProxy router: prevent SSE / streaming timeouts
264+
haproxy.router.openshift.io/timeout: 5m
265+
# HAProxy router: equivalent of nginx proxy-body-size, for large Git pushes / file uploads
266+
haproxy.router.openshift.io/request-body-size: 150m
267+
# TLS termination at the router
268+
route.openshift.io/termination: edge
269+
ingressClassName: openshift-default-example
270+
host: sourcegraph.example.com
267271

268272
################################################################################
269273
# Core services

0 commit comments

Comments
 (0)