#jinja2: trim_blocks: True, lstrip_blocks: True --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./namespace.yaml - ./addons/ks.yaml {% if weave_gitops.enabled | default(false) %} - ./weave-gitops/ks.yaml {% endif %}