Skip to content

Supervisor: Organization-specific application configuration

Some of the applications in the repository attracs-application-configs have support for organization-defined application configurations (OrganizationConfigrSecrets). Here's an example:

org_config_secrets:
  - orguuid: 'abcd1234-ab12-ab12-ab12-abcdefg1234567'
    heremapsapikey: '{{ .Data.data.heremaps_api_key_customer_x }}'
  - orgUuid: '1234abcd-12ab-12ab-12ab-1234567abcdefg'
    heremapsapikey: '{{ .Data.data.heremaps_api_key_customer_x }}'

More supported keys:

org_config_secrets:
- orguuid: ""
  googlemapsapikey: ""
  heremapsapikey: ""
- orguuid: ""
  googlemapsapikey: ""
  heremapsapikey: ""

Troubleshooting

failed to find org config for secrets org ""

The key name is probably wrong in the .yml.ctmpl file, see above for the correct syntax or ask Jonne. The key names are derived from tms-common.