lunar-config.yml
Lunar Configuration
lunar-config.yml
Type: YAML file
Form:
The file lunar-config.yml
file is used to configure the behavior of Lunar. It is recommended that you create a new code repository for all Lunar configuration and place this file in the root of it.
At a high-level, the file contains information about how the Lunar primitives are configured, ranging from how information is collected from the SDLC via collectors, to how components are organized into domains, and how the health of components is evaluated via policies.
version
version
lunar-config.yml -> version
Type:
numeric
Required
The version field is used to specify the version of the configuration file. The current version is 0
.
hub
hub
lunar-config.yml -> hub
Type:
object
Required
The hub
object contains configuration for the Lunar Hub server.
host
host
lunar-config.yml -> hub.host
Type:
string
Required
The host field is used to specify the host of the Lunar Hub server in the format host:port
.
insecure
insecure
lunar-config.yml -> hub.insecure
Type:
boolean
Optional
Default:
false
The insecure field is used to specify whether to use insecure HTTP connections to the Lunar Hub server.
catalogers
catalogers
lunar-config.yml -> catalogers
Type:
array
Optional
Catalogers are used to synchronize software catalog information (such as domains, and components) with external systems.
For information on how to configure catalogers, see catalogers.
domains
domains
lunar-config.yml -> domains
Type:
object
Optional
Domains are used to group related components together. Domains are hierarchical and can contain other domains.
For information on how to configure domains, see domains.
components
components
lunar-config.yml -> components
Type:
object
Optional
Components are the units of code that Lunar monitors. A component can represent either a code repository, or a subdirectory in the case of a monorepo.
Components are associated with domains and can have tags. Through the tagging system, components are associated with collectors, and policies.
For information on how to configure components, see components.
collectors
collectors
lunar-config.yml -> collectors
Type:
array
Required
Collectors are used to collect live information from various sources to associate with individual components.
For information on how to configure collectors, see collectors.
initiatives
initiatives
lunar-config.yml -> initiatives
Type:
array
Optional
Initiatives are used to group components together. Initiatives are associated with domains and can have tags.
For information on how to configure initiatives, see initiatives.
policies
policies
lunar-config.yml -> policies
Type:
array
Required
Policies are used to define the rules that Lunar uses to evaluate the health of components. Policies are associated with domains and can be inherited by child domains.
For information on how to configure policies, see policies.
Last updated