templates.Runner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bootstrapper Show documentation
Show all versions of bootstrapper Show documentation
Operator SDK - Bootstrapper Maven Plugin
package {{groupId}};
import io.javaoperatorsdk.operator.Operator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Runner {
private static final Logger log = LoggerFactory.getLogger(Runner.class);
public static void main(String[] args) {
Operator operator = new Operator();
operator.register(new {{artifactClassId}}Reconciler());
operator.start();
log.info("Operator started.");
}
}