Working with Configurations
This tour illustrates the basic configuration management
included in the OCM library. The library provides
an extensible framework to bring together configuration settings
and configurable objects.
It covers five basic scenarios:
basic
Basic configuration management illustarting the configuration of credentials.
generic
Handling of arbitrary configuration.
ocm
Central configuration
provide
Providing new config object types
consume
Preparing objects to be configured by the config management
You can just call the main program with some config file option (--config <file>
) and the name of the scenario.
The config file should have the following content:
repository: ghcr.io/mandelsoft/ocm
username:
password: