Component scripts #148
Replies: 3 comments 9 replies
-
I like this a lot. It's definitely more transparent as to what is happening, rather than doing everything under the hood. I like the syntax of the first way better. I would try to find a way to have the word |
Beta Was this translation helpful? Give feedback.
-
We could do something like "postInstall", "finalizer", "completionScript", 🦄 ? |
Beta Was this translation helpful? Give feedback.
-
This is now WIP as a part of the native apply stuff: 56adb74. Pre/post were easy to implement. |
Beta Was this translation helpful? Give feedback.
-
For my work on #16 I've run into some issues with the lifecycle of installing K3s (also see #17) and how the
package deploy
code works. The cleanest way to solve this is to move the k3s installer stages out of the codebase and into thezarf.yaml
as well, this way I can keep the business logic inline during the component deployment. Basically it would function like this:My question is around 1. What should we call that key? 2. What should the format look like for the scripts? These will be passed to
utils.ExecCommand()
.or more explicitly:
Beta Was this translation helpful? Give feedback.
All reactions