kalisio / kano

Map and weather forecast data explorer in 2D/3D
https://kalisio.github.io/kano/
MIT License
24 stars 7 forks source link

Enhance default layers management #111

Closed claustres closed 4 years ago

claustres commented 4 years ago

A lot of default layers are declared in the default configuration and when deploying in a specific environment using a custom kargo workspace we need to override the configuration and perform a filter based on the layer names. Whenever a layer name is changed or a new layer is added we need to update all workspaces. We should allow to configure more easily which default layers to be used in a specific environment, typically using a env var like others configuration options in a workspace.

Morevoer, as we have more and more layers it should be easier to organise the layer set in different files for readability and without the need to override the default configuration when adding a new layer in a workspace. Typically kano should read all layer definitions found in a dedicated folder like config/layers.