// Install is a purely informative flag that indicates whether this upgrade was done in "install" mode.
// Install is a largely informative flag that indicates whether this upgrade was done in "install" mode.
//
//
// Applications may use this to determine whether this Upgrade operation was done as part of a
// Applications may use this to determine whether this Upgrade operation was done as part of a
// pure upgrade (Upgrade.Install == false) or as part of an install-or-upgrade operation
// pure upgrade (Upgrade.Install == false) or as part of an install-or-upgrade operation
@ -55,12 +55,14 @@ type Upgrade struct {
// Setting this to `true` will NOT cause `Upgrade` to perform an install if the release does not exist.
// Setting this to `true` will NOT cause `Upgrade` to perform an install if the release does not exist.
// That process must be handled by creating an Install action directly. See cmd/upgrade.go for an
// That process must be handled by creating an Install action directly. See cmd/upgrade.go for an
// example of how this flag is used.
// example of how this flag is used.
//
// This flag does affect how CRDs are handled - CRDs will only be installed if this flag is set.
Installbool
Installbool
// Devel indicates that the operation is done in devel mode.
// Devel indicates that the operation is done in devel mode.
Develbool
Develbool
// Namespace is the namespace in which this operation should be performed.
// Namespace is the namespace in which this operation should be performed.
Namespacestring
Namespacestring
// SkipCRDs skips installing CRDs when install flag is enabled during upgrade
// SkipCRDs skips installing new CRDs during upgrade, if this upgrade was done in install mode. Note, CRDs will never be upgraded if they already exist.