public static String getPodsUniqueOwner(List<V1Pod> podList) {
        if (podList == null || podList.isEmpty()) {
            return null;
        }

        String podOwner = getPodOwner(podList.get(0));
        if (StringUtils.isBlank(podOwner)) {
            return null;
        }

        for (V1Pod pod : podList) {
            if (!podOwner.equals(getPodOwner(pod))) {
                return null;
            }
        }

        return podOwner;
    }
@param podList
@return pod owner kind if all pods have same owner, else null
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/util/K8sPodUtil.java