tazjin/kontemplate

Apply subdirectories?

noqcks opened this issue · 5 comments

Does Kontemplate have some type of recursive flag like kubectl? -R ?

If you use have a parent resource set then including that will include all of its specified children, too. Is that what you're looking for?

Yeah, essentially.

Right now the templating is only 1 level deep yaml files afaik

Hello,

I also have a question about subdirs. Can I place templates on the third level subfolder:

include:
  - name: cluster
    include:
      - name: deployments
        include:
          - name: dashboard

I receive error "kontemplate: error: Error templating resource sets: No valid resource sets included!" when trying to apply such template "-i cluster/deployments/dashboard"

@merlineus Hey! Unfortunately this is not possible at the moment.

The source of kontemplate is moving to git.tazj.in and I am closing this issue as I don't think I will be implementing it. Please feel free to email depot@tazj.in to create a new discussion about it on the mailing list.