diff --git a/core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/CRDGeneration.java b/core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/CRDGeneration.java index 39111500..270e959f 100644 --- a/core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/CRDGeneration.java +++ b/core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/CRDGeneration.java @@ -144,8 +144,8 @@ boolean scheduleForGenerationIfNeeded(CustomResourceAugmentedClassInfo crInfo, return scheduleCurrent; } - @SuppressWarnings("rawtypes") - public void withCustomResource(Class crClass, String crdName, String associatedControllerName) { + public void withCustomResource(Class> crClass, String crdName, + String associatedControllerName) { // first check if the CR is not filtered out if (crdConfiguration.excludeResources.map(excluded -> excluded.contains(crClass.getName())).orElse(false)) { log.infov("CRD generation was skipped for ''{0}'' because it was excluded from generation", crClass.getName());