operator-framework/java-operator-plugins

Wrong generated class name

metacosm opened this issue · 0 comments

Bug Report

What did you do?

create api generates a wrongly named Java class. The generated class name is still {{.ClassName}}Controller while the code has been changed to name the class {{.ClassName}}Reconciler.

What did you expect to see?

Generated code should compile.

What did you see instead? Under which circumstances?

Generated code doesn't compile because you must define a Java class in a file named after the class that it encloses.

Environment

Operator type:

Kubernetes cluster type:

$ operator-sdk version

$ java -version (if language is Java)

$ kubectl version

Possible Solution

Additional context