Open
Description
Describe the bug
Currently, the Koji and CloudAPI configurations are mixed in a single KojiAPIConfig
structure, mainly because both APIs share the same listener.
osbuild-composer/cmd/osbuild-composer/config.go
Lines 19 to 28 in 510bd1d
This is getting a bit confusing, because with PR #1841, the Koji API configuration will contain AWS Bucket value, which is not at all relevant for the Koji API.
Expected behavior
We should consider our options and rework the configuration in some way, e.g:
- Split Koji and Cloud API configurations, probably also the listeners that they use.
- Rename the Koji API configuration to something common, such as "Composer API".