Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit e581ced

Browse files
committed
🌐 Enable CORS on the main ingress to improve Selenium Hub VNC viewer compatibility
1 parent 86c141c commit e581ced

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ metadata:
99
nginx.ingress.kubernetes.io/auth-url: https://oauth2-proxy.{{ .Values.domain }}/oauth2/auth
1010
nginx.ingress.kubernetes.io/auth-signin: https://oauth2-proxy.{{ .Values.domain }}/oauth2/start?rd=$scheme://$best_http_host$request_uri
1111
{{ end }}
12+
{{ if eq .Values.selenium.enabled true }}
13+
nginx.ingress.kubernetes.io/enable-cors: "true"
14+
{{ end }}
1215
nginx.ingress.kubernetes.io/proxy-body-size: 16m
1316
spec:
1417
ingressClassName: workstation-nginx

0 commit comments

Comments
 (0)