@Test public void checkEnrichStatefulSet() throws Exception { KubernetesListBuilder builder = new KubernetesListBuilder() .addNewStatefulSetItem() .endStatefulSetItem(); imageEnricher.create(PlatformMode.kubernetes, builder); assertCorrectlyGeneratedResources(builder.build(), "StatefulSet"); }
@Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { if (!hasImageConfiguration()) { log.verbose("No images resolved. Skipping ..."); return; } ensureTemplateSpecs(builder); updateContainers(builder); }
ImageEnricher extends BaseEnricher { @Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { if (!hasImageConfiguration()) { log.verbose("No images resolved. Skipping ..."); return; } ensureTemplateSpecs(builder); updateContainers(builder); } }
ImageEnricher extends BaseEnricher { @Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { if (!hasImageConfiguration()) { log.verbose("No images resolved. Skipping ..."); return; } ensureTemplateSpecs(builder); updateContainers(builder); } ImageEnricher(MavenEnricherContext buildContext); }
ImageEnricher extends BaseEnricher { @Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { if (!hasImageConfiguration()) { log.verbose("No images resolved. Skipping ..."); return; } ensureTemplateSpecs(builder); updateContainers(builder); } ImageEnricher(MavenEnricherContext buildContext); @Override void create(PlatformMode platformMode, KubernetesListBuilder builder); }
ImageEnricher extends BaseEnricher { @Override public void create(PlatformMode platformMode, KubernetesListBuilder builder) { if (!hasImageConfiguration()) { log.verbose("No images resolved. Skipping ..."); return; } ensureTemplateSpecs(builder); updateContainers(builder); } ImageEnricher(MavenEnricherContext buildContext); @Override void create(PlatformMode platformMode, KubernetesListBuilder builder);  }