public static void updatePodChecksum(List<ManifestSnippet> configMapSnippets, ManifestContext manifestContext,
            String agentName) {
        if (configMapSnippets == null || configMapSnippets.isEmpty()) {
            return;
        }
        PodChecksum.Prop prop = getPodChecksumProp(configMapSnippets);
        if (prop == null) {
            return;
        }

        Object podChecksumObj = manifestContext.getGenerationAttribute(ManifestGenConstants.POD_CHECKSUM);
        PodChecksum podChecksum = podChecksumObj == null ? new PodChecksum() : (PodChecksum) podChecksumObj;

        if (StringUtils.isBlank(agentName)) {
            podChecksum.setProp(prop);
        } else {
            podChecksum.addAgentProp(agentName, prop);
        }
        manifestContext.addGenerationAttribute(ManifestGenConstants.POD_CHECKSUM, podChecksum);
    }
Consolidating all the props (string & endpoint) when propsVolumePath is defined as @see ManifestGenConstants.DEFAULT_CONFIG_PROPS_FILE
manifest-generator/generator-services/src/main/java/io/hyscale/generator/services/utils/ConfigMapDataUtil.java