You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that the the ReconcilerUtils.loadYaml is meant to load an initial yaml file and then programmatically modify it.
It would make sense for me to allow loading that resource directly as builder:
DeploymentBuilderbuilder = ReconcilerUtils.loadYaml(DeploymentBuilder.class, getClass(), "deployment.yaml");
Deploymentdeployment = builder
.accept(ContainerBuilder.class, c -> c.withImage("my-image"))
// More changes here
.build();