mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 22:10:54 +02:00
This removes `release: "your_release_name" not found` errors seen for releases with `installed: false` when running `helmfile sync` and `helmfile apply`. The problem was that helmfile had been running `helm status` to detect releases to be deleted. helmfile now use `helm list ^YOUR_RELEASE_NAME$` to detect if the release is currently installed or not, which emits no error-like logs on against uninstalled releases. Fixes #507 Fixes #507
23 lines
776 B
Go
23 lines
776 B
Go
package helmexec
|
|
|
|
// Interface for executing helm commands
|
|
type Interface interface {
|
|
SetExtraArgs(args ...string)
|
|
SetHelmBinary(bin string)
|
|
|
|
AddRepo(name, repository, certfile, keyfile, username, password string) error
|
|
UpdateRepo() error
|
|
BuildDeps(chart string) error
|
|
UpdateDeps(chart string) error
|
|
SyncRelease(name, chart string, flags ...string) error
|
|
DiffRelease(name, chart string, flags ...string) error
|
|
TemplateRelease(chart string, flags ...string) error
|
|
Fetch(chart string, flags ...string) error
|
|
Lint(chart string, flags ...string) error
|
|
ReleaseStatus(name string) error
|
|
DeleteRelease(name string, flags ...string) error
|
|
TestRelease(name string, flags ...string) error
|
|
List(filter string) (string, error)
|
|
DecryptSecret(name string) (string, error)
|
|
}
|