Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInstallFailed = errors.New("install failed")
ErrInstallFailed when the Helm chart installation fails.
View Source
var ErrUpgradeFailed = errors.New("upgrade failed")
ErrUpgradeFailed when the Helm chart upgrade fails.
Functions ¶
Types ¶
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
Helm represents the Helm support for the installer. It's responsible for running the Helm related actions.
func NewHelm ¶
func NewHelm( logger *slog.Logger, f *flags.Flags, kube *k8s.Kube, namespace string, chart *chart.Chart, ) (*Helm, error)
NewHelm creates a new Helm instance, setting up the Helm action configuration to be used on subsequent interactions. The Helm instance is bound to a single Helm Chart.
func (*Helm) Deploy ¶
Deploy deploys the Helm chart (Dependency) on the cluster. It checks if the release is already installed in order to use the proper helm-client (action).
Click to show internal directories.
Click to hide internal directories.