-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Butane local files features #163
Comments
https://github.com/coreos/fcct/blob/master/docs/examples.md#storage-and-files We don't have an example of merging a local Ignition config, though. |
I am interested in understanding the Am I correct in my understanding that an embedded config (referred to as If so, values in the |
Yup, that's right. Note that the child config is an Ignition config, not a Butane config - i.e., if you want to write it with Butane, you need to transpile the child config separately.
Children override parents, yes. The idea is that the top-level config should merge what it needs from child configs, with later child configs overriding earlier ones. For example, your config graph might be:
If you really need to have the last set of parameters (the |
Uhhh, that's … good to know because I just ran
I can work with that, just wanted to make sure I understood the process correctly before moving stuff around. |
Yup, you're right. Butane treats the merged config as opaque right now. That makes sense for remote configs, but probably doesn't make sense for local ones where we already have the config contents. coreos/butane#118 tracks the ability to merge Butane configs, and I just filed coreos/butane#275 to validate local merged configs. |
This might exist but I couldn't find it easily so I'll just put this here. We should add some examples of the
local
files feature offcct
:Another example this time merging configs:
The text was updated successfully, but these errors were encountered: