Files
portainer/pkg/libhelm/options/uninstall_options.go
T
Steven Kang a1208974ac fix(policy): pod security constraints - develop [R8S-808] (#1758)
Co-authored-by: Phil Calder <4473109+predlac@users.noreply.github.com>
Co-authored-by: Viktor Pettersson <viktor.pettersson@portainer.io>
Co-authored-by: Yajith Dayarathna <yajith.dayarathna@portainer.io>
Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>
Co-authored-by: nickl-portainer <nicholas.loomans@portainer.io>
2026-02-10 08:46:02 +09:00

19 lines
581 B
Go

package options
import "time"
// UninstallOptions are portainer supported options for `helm uninstall`
type UninstallOptions struct {
Name string
Namespace string
KubernetesClusterAccess *KubernetesClusterAccess
// Wait blocks until all resources are deleted before returning (helm uninstall --wait).
// Use when a restore will be applied immediately after uninstall so resources are gone first.
Wait bool
// Timeout is how long to wait for resources to be deleted when Wait is true (default 15m).
Timeout time.Duration
Env []string
}