public String mergeCustomSnippets(String yamlString,
                                      List<String> customSnippets) throws HyscaleException {
        if(customSnippets == null || customSnippets.isEmpty()){
            return yamlString;
        }
        for(String customSnippet : customSnippets){
            if(StringUtils.isNotBlank(customSnippet)){
                yamlString = customSnippetsProcessor.mergeYamls(yamlString,customSnippet);
            }
        }
        return yamlString;
    }
Custom K8s Snippets
<p>
 This class is responsible for patching custom K8s snippets with respect to kind on top of generated manifests
</p>
@author Nishanth Panthangi
manifest-generator/generator-services/src/main/java/io/hyscale/generator/services/provider/CustomSnippetsProvider.java