private String getPodTemplateHash(ApiClient apiClient, String namespace, String selector, String revision) {
        V1ReplicaSetHandler v1ReplicaSetHandler = (V1ReplicaSetHandler) ResourceHandlers
                .getHandlerOf(ResourceKind.REPLICA_SET.getKind());
        V1ReplicaSet replicaSet = null;
        try {
            replicaSet = v1ReplicaSetHandler.getReplicaSetByRevision(apiClient, namespace, selector, true, revision);
        } catch (HyscaleException e) {
            LOGGER.error("Error fetching replica set with revision {} for pod filtering, ignoring", revision, e);
            return null;
        }
        if (replicaSet == null) {
            LOGGER.debug("No Replica set found with revision: {} for filtering pods, returning empty list", revision);
            return null;
        }
        String podTemplateHash = replicaSet.getMetadata().getLabels()
                .get(K8SRuntimeConstants.K8S_DEPLOYMENT_POD_TEMPLATE_HASH);

        LOGGER.debug("pod-template-hash: {}", podTemplateHash);
        return K8SRuntimeConstants.K8S_DEPLOYMENT_POD_TEMPLATE_HASH + "=" + podTemplateHash;
    }
@param deploymentList
@return list of service names from label of deployment
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/handler/impl/V1DeploymentHandler.java