Assemble the charts:
The tiles and print services, respectively "TileCloud Chain" and "MapFish Print" are shared between
projects and deployed in the gs-mutualize
namespace.
They need to load configurations stored in repositories of projects on GitHub.
Diagram of the configuration workflow:
One GitHubWebhook
will be created for each entry in geomapfish.mutualize.configs
in project Chart values.
Those objects will be used by the
GitHub WebHook operator
to create the corresponding GitHub WebHooks in project repository.
Those WebHooks will trigger the mutualize shared config manager on push on GitHub.
One SharedConfigSource
will be create for each geomapfish.mutualize.configs
.
Those objects are used by the
Shared Config Manager Operator
to build a ConfigMap
(from the SharedConfigConfig
object) that contains the master config of the mutualize
Shared Config Manager.
With this config, the Shared Config Manager will checkout the configured repository,
Do the variable replacement, and distribute the configurations to the mutualize services.
One other SharedConfigSource
will be create for each entry in key hosts
of each entry in
geomapfish.mutualize.configs
if tilecloudchain
is true
.
Those object are used by the
Shared Config Manager Operator
to create a ConfigMap
(from the SharedConfigConfig
object) that contains the TileCloud Chain hosts config.
Documentation based on the schema defined in values.md.
Install the pre-commit hooks:
pip install pre-commit
pre-commit install --allow-missing-config