feat(stacks): allow edit of kube git stacks [BE-12671] (#2194)

This commit is contained in:
Chaim Lev-Ari
2026-04-21 11:05:37 +03:00
committed by GitHub
parent 42c7f10e79
commit 744a31a354
16 changed files with 236 additions and 397 deletions
@@ -146,6 +146,7 @@ func (handler *Handler) stackUpdateGit(w http.ResponseWriter, r *http.Request) *
if stack.CurrentDeploymentInfo == nil && stack.GitConfig != nil {
stack.CurrentDeploymentInfo = &portainer.StackDeploymentInfo{
RepositoryURL: stack.GitConfig.URL,
ReferenceName: stack.GitConfig.ReferenceName,
ConfigFilePath: stack.GitConfig.ConfigFilePath,
AdditionalFiles: stack.AdditionalFiles,
ConfigHash: stack.GitConfig.ConfigHash,