Documentation
¶
Index ¶
- Constants
- func DeleteAddonByName(s *state.State, addonName string) error
- func EmbeddedAddonsOnly(addons *kubeoneapi.Addons) (bool, error)
- func Ensure(s *state.State) error
- func EnsureAddonByName(s *state.State, addonName string) error
- func EnsureUserAddons(s *state.State) error
- func EnsureUserAddonsByName(names ...string) func(s *state.State) error
- func List(s *state.State, outputFormat string) error
- func ValidateAddonNames(s *state.State, names, installedReleases []string) error
Constants ¶
const (
ParamsEnvPrefix = "env:"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteAddonByName ¶ added in v1.4.0
DeleteAddonByName deletes an addon by its name. It's required to keep the old addon manifest for this to work, however, it's enough to keep only metadata (i.e. spec is not needed). If the addon is not found in the addons directory, or if the addons are not enabled, it will search for the embedded addons.
func EmbeddedAddonsOnly ¶ added in v1.4.0
func EmbeddedAddonsOnly(addons *kubeoneapi.Addons) (bool, error)
EmbeddedAddonsOnly checks if all specified addons are embedded addons
func EnsureAddonByName ¶ added in v1.3.0
EnsureAddonByName deploys an addon by its name. If the addon is not found in the addons directory, or if the addons are not enabled, it will search for the embedded addons.
func EnsureUserAddons ¶ added in v1.3.0
EnsureUserAddons deploys addons that are provided by the user and that are not embedded.
func EnsureUserAddonsByName ¶ added in v1.15.0
EnsureUserAddonsByName returns a task that deploys only the named user addons, names that don't match a user addon are ignored (see ValidateAddonNames). Addons located in the root of the addons directory are not applied.
func ValidateAddonNames ¶ added in v1.15.0
ValidateAddonNames checks that every given name is either a user addon (defined in the manifest or in the addons directory), a helm release declared in the manifest, or one of the installedReleases, i.e. helm releases installed by KubeOne that can be uninstalled after they were removed from the manifest.
Types ¶
This section is empty.