Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Upgrader ¶
type Upgrader struct {
// contains filtered or unexported fields
}
Upgrader is a utility to update the CRDs in a helm chart's pre-upgrade hook
func NewWithClient ¶
NewWithClient returns a new Upgrader client using the given controller-runtime client.Client
func (*Upgrader) Upgrade ¶
func (u *Upgrader) Upgrade(targetVersion string) ([]unstructured.Unstructured, error)
Upgrade installs the missing CRDs or updates them if they exists already
Click to show internal directories.
Click to hide internal directories.