1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(helm): make the atomic flag optional [r8s-314] (#733)

This commit is contained in:
Ali 2025-05-14 16:31:42 +12:00 committed by GitHub
parent 4ee349bd6b
commit d49fcd8f3e
11 changed files with 71 additions and 10 deletions

View file

@ -27,6 +27,7 @@ type installChartPayload struct {
Repo string `json:"repo"`
Values string `json:"values"`
Version string `json:"version"`
Atomic bool `json:"atomic"`
}
var errChartNameInvalid = errors.New("invalid chart name. " +
@ -105,6 +106,7 @@ func (handler *Handler) installChart(r *http.Request, p installChartPayload) (*r
Version: p.Version,
Namespace: p.Namespace,
Repo: p.Repo,
Atomic: p.Atomic,
KubernetesClusterAccess: clusterAccess,
}