From eedf37d18a045712f7ddde84f8095dde9067e353 Mon Sep 17 00:00:00 2001 From: Oscar Zhou <100548325+oscarzhou-portainer@users.noreply.github.com> Date: Wed, 17 Sep 2025 18:25:42 +1200 Subject: [PATCH] feat(edge): add option to allow always clone git repository [BE-12240] (#1215) --- api/edge/edge.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/edge/edge.go b/api/edge/edge.go index d204a3b63..398f9d409 100644 --- a/api/edge/edge.go +++ b/api/edge/edge.go @@ -49,6 +49,11 @@ type ( // Is relative path supported SupportRelativePath bool + // AlwaysCloneGitRepoForRelativePath is a flag indicating if the agent must always clone the git repository for relative path. + // This field is only valid when SupportRelativePath is true. + // Used only for EE + AlwaysCloneGitRepoForRelativePath bool + // Mount point for relative path FilesystemPath string // Used only for EE