manager

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AddonName represents the name of the FluxCD addon.
	AddonName = "fluxcd-addon"

	// AgentManifestsDir is the directory containing Flux2 agent-manifests.
	AgentManifestsDir = "agent-manifests/flux2"

	// AgentInstallNamespace is the namespace where the FluxCD addon will be installed.
	AgentInstallNamespace = "flux-system"
)

Variables

Functions

func GetConfigValues

func GetConfigValues(kc client.Client) addonfactory.GetValuesFunc

GetConfigValues returns a function that retrieves and transforms configuration values from FluxCDConfig objects. The function fetches configuration references from a ManagedClusterAddOn, reads corresponding FluxCDConfig objects, extracts their specifications, and converts them into addonfactory.Values. These values are then used to customize configuration of addon-agent.

func NewManagerCommand

func NewManagerCommand() *cobra.Command

NewManagerCommand creates a command for starting the addon manager controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL