Documentation ¶
Overview ¶
Package addons manages the default addons installations in the cluster. Addons are mostly Helm Charts, but can also be other resources as the project evolves. All of the AddOns must implement the AddOn interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOn ¶
type AddOn interface { Version() (map[string]string, error) HostPreflights() (*v1beta2.HostPreflightSpec, error) GenerateHelmConfig() ([]v1beta1.Chart, []v1beta1.Repository, error) Outro(context.Context, client.Client) error }
AddOn is the interface that all addons must implement.
type Applier ¶
type Applier struct {
// contains filtered or unexported fields
}
Applier is an entity that applies (installs and updates) addons in the cluster.
func NewApplier ¶
NewApplier creates a new Applier instance with all addons registered.
func (*Applier) GenerateHelmConfigs ¶
GenerateHelmConfigs generates the helm config for all the embedded charts.
func (*Applier) HostPreflights ¶
func (a *Applier) HostPreflights() (*v1beta2.HostPreflightSpec, error)
HostPreflights reads all embedded host preflights from all add-ons and returns them merged in a single HostPreflightSpec.
type Option ¶
type Option func(*Applier)
Option sets and option on an Applier reference.
func WithConfig ¶
func WithConfig(config v1beta1.ClusterConfig) Option
WithConfig sets the helm config for the addons.
func WithoutAddon ¶
WithoutAddon disables an addon from being applied.
func WithoutPrompt ¶
func WithoutPrompt() Option
WithoutPrompt disables the prompt before applying addons.
Directories ¶
Path | Synopsis |
---|---|
Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster.
|
Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster. |
Package custom manages the installation of custom helm charts that have been embedded at the end of the embedded-cluster binary.
|
Package custom manages the installation of custom helm charts that have been embedded at the end of the embedded-cluster binary. |
Package embeddedclusteroperator manages the installation of the embedded cluster operator chart.
|
Package embeddedclusteroperator manages the installation of the embedded cluster operator chart. |
Package openebs manages the OpenEBS storage provisioner helm chart installation or upgrade in the cluster.
|
Package openebs manages the OpenEBS storage provisioner helm chart installation or upgrade in the cluster. |