Any way to compile multi packages into multi YAMLs? #1967
Unanswered
diogobaeder
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Using Bash to loop over a directory.. ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks!
First of all: KCL is amazing, I've been using it for many months now and it serves me very well!
One thing that's a bit of a dread, though, is that I have a project with multiple components, and, because each component is defined as a combination of KCL files that outputs one YAML for each component. And, although KCL itself is very fast, the fact that I use external libraries (k8s and argocd, specifically) is probably causing each compilation iteration to run slowly - just a few seconds, but multiplied by environments and components means it takes a lot of time in total.
So here's my question: is there a way to run KCL with a single command where it loops through multiple directories, outputting a YAML file for each of them, instead of a single one for the overall command execution?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions