Optional
k8: K8The Kubernetes client used for interacting with ConfigMaps.
Optional
logger: SoloLoggerThe logger for recording activity and errors.
Optional
localConfig: LocalConfigLocal configuration for the remote config.
Optional
configManager: ConfigManagerManager to retrieve application flags and settings.
the components data wrapper cloned
Builds a task for creating a new remote configuration, intended for use with Listr task management. Merges cluster mappings from the provided context into the local configuration, then creates the remote config.
a Listr task which creates the remote configuration.
Builds a listr task for loading the remote configuration.
arguments containing command input for historical reference.
a Listr task which loads the remote configuration.
Loads the remote configuration, performs a validation and returns it
RemoteConfigDataWrapper
Performs the loading of the remote configuration. Checks if the configuration is already loaded, otherwise loads and adds the command to history.
arguments containing command input for historical reference.
Modifies the loaded remote configuration data using a provided callback function. The callback operates on the configuration data, which is then saved to the cluster.
an async function that modifies the remote configuration data.
Static
compare
Uses Kubernetes ConfigMaps to manage the remote configuration data by creating, loading, modifying, and saving the configuration data to and from a Kubernetes cluster.