public <T> void create(ResourceLifeCycleHandler<T> lifeCycleHandler, T resource) {
        if (resource == null) {
            return;
        }
        try {
            lifeCycleHandler.create(apiClient, resource, namespace);
        } catch (HyscaleException e) {
            logger.debug("Error while creating resource {}", lifeCycleHandler.getKind(), e);
        }
    }
Handle resource update based on update policy
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/broker/K8sResourceBroker.java