Configuration Sources for Other Components

MATRIXX components outside of MATRIXX Engine can retrieve configuration data from configuration sources defined at the global level using the property described in Configuration Source Properties for Other Components.

Table 1. Configuration Source Properties for Other Components
Property Description
sub-chart-name.configuration.sources[n].refName The name of an entry in the global.configurationSources map.

The following example shows configuration for RS Gateway referencing a globally defined Git-based configuration source generic-git-config. The configuration data is retrieved from the rsgateway directory of the Git repository.

global:
  configurationSources:
  
    generic-git-config:
      git:
        repositoryUrl: [email protected]:matrixx/matrixx-configuration.git
        branch: DEV-20210521-1230
        sshKey:
          secretName: acme-gitlab-sshkey
  
rsgateway:
  configuration:
    sources:
      - refName: generic-git-config
        git:
          repositoryPath: rsgateway