private void processSelectorData(final IngressConfiguration routeConfig, final SelectorData selectorData, final V1Ingress v1Ingress, final String pluginName) {
        selectorData.setId(IngressSelectorCache.getInstance().generateSelectorId());
        selectorData.setSort(100);
        shenyuCacheRepository.saveOrUpdateSelectorData(selectorData);

        List<RuleData> ruleDataList = routeConfig.getRuleDataList();

        if (CollectionUtils.isNotEmpty(ruleDataList)) {
            processRuleDataList(ruleDataList, selectorData);
        }

        IngressSelectorCache.getInstance().put(
                Objects.requireNonNull(v1Ingress.getMetadata()).getNamespace(),
                v1Ingress.getMetadata().getName(),
                pluginName,
                selectorData.getId()
        );
    }
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