public String render(File templateFile) throws IOException {
    String template = FileUtils.readFileToString(templateFile, Charset.defaultCharset());
    return render(template);
  }
@Test
  void testRenderWithStrip() {
    // given
    K8sSpecTemplate template = new K8sSpecTemplate();
    template.put("test", "test");
      // when
    String spec = template.render(
          "  {% if test == \"test\" %}\n" +
          "  After commit\n" +
          "  {% endif %}\n");

    // then
    assertEquals("  After commit\n", spec);
  }