Files
portainer/pkg/libhelm/options/install_options.go
Steven Kang 2406d67bfc feat(fcm): initial release (#1153)
Co-authored-by: Ali <83188384+testA113@users.noreply.github.com>
Co-authored-by: James Player <james.player@portainer.io>
Co-authored-by: Cara Ryan <cara.ryan@portainer.io>
Co-authored-by: testA113 <aliharriss1995@gmail.com>
Co-authored-by: Viktor Pettersson <viktor.pettersson@portainer.io>
Co-authored-by: Viktor Pettersson <viktor.grasljunga@gmail.com>
Co-authored-by: Malcolm Lockyer <segfault88@users.noreply.github.com>
Co-authored-by: RHCowan <50324595+RHCowan@users.noreply.github.com>
Co-authored-by: Robbie Cowan <robert.cowan@portainer.io>
2025-12-09 08:05:38 +09:00

42 lines
1.1 KiB
Go

package options
import (
"time"
portainer "github.com/portainer/portainer/api"
gittypes "github.com/portainer/portainer/api/git/types"
)
type InstallOptions struct {
Name string
Chart string
Version string
Namespace string
Repo string
Registry *portainer.Registry
Wait bool
// Values contains inline Helm values merged with the chart defaults.
// If both are provided, entries in Values override those from ValuesFile.
Values map[string]any
// ValuesFile is a path to a YAML file with Helm values to apply.
// File values are applied first; Values take precedence on conflicts.
ValuesFile string
PostRenderer string
Atomic bool
DryRun bool
Timeout time.Duration
KubernetesClusterAccess *KubernetesClusterAccess
TakeOwnership bool
CreateNamespace bool
// GitOps related options
GitConfig *gittypes.RepoConfig
AutoUpdate *portainer.AutoUpdateSettings
// StackID is the ID of the Portainer stack associated with this release
StackID int
// Optional environment vars to pass when running helm
Env []string
}