From ec3fd918de8fae8a9e7a4a496bc2b5953b5466fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=92=E6=83=85=E7=86=8A?= <2669184984@qq.com> Date: Fri, 13 Dec 2024 15:43:14 +0800 Subject: [PATCH] feat:websocket auto shutdown --- controllers/devbox/internal/controller/devbox_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/devbox/internal/controller/devbox_controller.go b/controllers/devbox/internal/controller/devbox_controller.go index 7df3aa8bfc3..76caea9ea9b 100644 --- a/controllers/devbox/internal/controller/devbox_controller.go +++ b/controllers/devbox/internal/controller/devbox_controller.go @@ -564,6 +564,7 @@ func (r *DevboxReconciler) syncProxySvc(ctx context.Context, devbox *devboxv1alp Namespace: devbox.Namespace, Labels: helper.GenerateProxyPodLabels(devbox, runtimecr), }, + Spec: expectServiceSpec, } if _, err := controllerutil.CreateOrUpdate(ctx, r.Client, proxySvc, func() error { proxySvc.Spec.Selector = expectServiceSpec.Selector