feat: support additional java CRDs in test extension by robobario · Pull Request #3163 · operator-framework/java-operator-sdk
Adds withAdditionalCustomResourceDefinition(CustomResourceDefinition definition) to LocallyRunOperatorExtension#Builder. These definitions are applied at the same time as additionalCustomResourceDefinitions. The definitions are deleted according to the existing lifecycle. Why: In some cases we may wish to apply a CustomResourceDefinition that has no corresponding CRD file. For example, some frameworks publish fabric8-based api modules which contain only the java classes and no CRD files. Signed-off-by: Robert Young <robertyoungnz@gmail.com>