private void processShenyuMemoryConfig(final ShenyuMemoryConfig shenyuMemoryConfig, final V1Ingress v1Ingress, final String pluginName) throws IOException {
        List<IngressConfiguration> routeConfigList = shenyuMemoryConfig.getRouteConfigList();

        if (CollectionUtils.isEmpty(routeConfigList)) {
            return;
        }

        for (IngressConfiguration routeConfig : routeConfigList) {
            SelectorData selectorData = routeConfig.getSelectorData();

            if (Objects.nonNull(selectorData)) {
                processSelectorData(routeConfig, selectorData, v1Ingress, pluginName);
            }

            List<MetaData> metaDataList = routeConfig.getMetaDataList();

            if (Objects.nonNull(metaDataList)) {
                processMetaDataList(metaDataList);
            }
        }

        // Process global default backend if present
        processGlobalDefaultBackend(shenyuMemoryConfig, v1Ingress, pluginName);

        // Process TLS configurations
        processTlsConfigurations(shenyuMemoryConfig, v1Ingress);
    }
Check whether the IngressClass is shenyu, check the annotation first.

@param v1Ingress v1Ingress
@return boolean
shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/reconciler/IngressReconciler.java