This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Refactor ResourceMojo to get rid of GeneratorContext #1528
Labels
group/enricher
Enricher related
status/never-stale
Pin this issue to get never marked as stale by stale-bot
target/JKube
Implementation to be performed in JKube
Right now we're referencing Generators during resource generation in ResourceMojo here:
fabric8-maven-plugin/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java
Lines 902 to 930 in 19c3689
We need ImageConfiguration in order to extract image names and container ports while making pod template. Ideally ResourceMojo should not be aware of ImageConfiguration which should be referenced in BuildMojo. We should find a way to get of of Generators here. Maybe we can make this configuration option for enrichers, too(or think about other solutions). This for sure is less harming than blending in generators here.
The text was updated successfully, but these errors were encountered: