capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Populate additional sources based on available Vendor kind #598

Open mszostok opened 2 years ago

mszostok commented 2 years ago

Description

As the https://github.com/capactio/capact/issues/560 was done. We can now iterate with a new feature which will make use of Vendor kind.

It's a part of more complex issue about federation: https://github.com/capactio/capact/issues/511

Reason

Currently, information about external Hub needs to be described in readme files under set up section. For example, you need to describe that to populate manifests from google/hub-manifests which depends on capactio/hub-manifests such command needs to be executed:

populator register ocf-manifests --source github.com/google/hub-manifests --source github.com/capactio/hub-manifests

If you forget about --source github.com/capactio/hub-manifests it will not work properly. Instead of doing that, we can describe this relation inside google/hub-manifests repo using Vendor kind. CLI should automatically discover all Vendor manifests and based on them populate data from all additional sources.

Use cases

Out of scope