@Override
    public ManifestSnippet build(ServiceMetadata serviceMetadata, LoadBalancer loadBalancer) throws HyscaleException {
        ManifestSnippet manifestSnippet = new ManifestSnippet();
        manifestSnippet.setKind(ManifestResource.INGRESS.getKind());
        manifestSnippet.setPath("metadata");
        ConfigTemplate nginxIngressTemplate = templateProvider.get(PluginTemplateProvider.PluginTemplateType.TRAEFIK);
        String yamlString = templateResolver.resolveTemplate(nginxIngressTemplate.getTemplatePath(), getContext(serviceMetadata,loadBalancer));
        manifestSnippet.setSnippet(yamlString);
        return manifestSnippet;
    }
Builds Metadata for Traefik Ingress resource yaml
manifest-generator/generator-services/src/main/java/io/hyscale/generator/services/builder/TraefikMetaDataBuilder.java