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 ¶
View Source
var FS embed.FS
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 ¶
NewManagerCommand creates a command for starting the addon manager controller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.