From 18b53b088422e060f372b114d458095aef20ff46 Mon Sep 17 00:00:00 2001 From: Yujie Yan <134322381+yj-yan@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:18:34 -0700 Subject: [PATCH] fix: stop forwarding dlv port when skipped (#458) * fix: do not forward dlv port for skip-portforwarding * update snapshot --- ...TestDevspaceYaml-devspace.yaml.tpl-devspace.yaml.snapshot | 5 ----- templates/devspace.yaml.tpl | 5 ----- 2 files changed, 10 deletions(-) diff --git a/templates/.snapshots/TestDevspaceYaml-devspace.yaml.tpl-devspace.yaml.snapshot b/templates/.snapshots/TestDevspaceYaml-devspace.yaml.tpl-devspace.yaml.snapshot index 64c4c23..30d0bb2 100644 --- a/templates/.snapshots/TestDevspaceYaml-devspace.yaml.tpl-devspace.yaml.snapshot +++ b/templates/.snapshots/TestDevspaceYaml-devspace.yaml.tpl-devspace.yaml.snapshot @@ -341,11 +341,6 @@ profiles: activation: - vars: DEVENV_DEV_SKIP_PORTFORWARDING: "true" - patches: - - op: replace - path: dev.app.ports - value: - - port: ${DLV_PORT} - name: e2eBase description: Basic configuration override for all e2e test profiles diff --git a/templates/devspace.yaml.tpl b/templates/devspace.yaml.tpl index 758dd48..0865d2b 100644 --- a/templates/devspace.yaml.tpl +++ b/templates/devspace.yaml.tpl @@ -365,11 +365,6 @@ profiles: activation: - vars: DEVENV_DEV_SKIP_PORTFORWARDING: "true" - patches: - - op: replace - path: dev.app.ports - value: - - port: ${DLV_PORT} - name: e2eBase description: Basic configuration override for all e2e test profiles