butane icon indicating copy to clipboard operation
butane copied to clipboard

Provide Round-Trip Editing on Ignition Files

Open phreed opened this issue 2 months ago • 2 comments

I made a simple program to help me understand and debug ignition files. I think this capability might be a reasonable behavior for Butane.

https://github.com/babeloff/fcos-ignition-coder

phreed avatar Oct 30 '25 21:10 phreed

Please provide more details about this issue. What steps have you tried so far?

github-actions[bot] avatar Oct 30 '25 21:10 github-actions[bot]

You know how butane produces ignition files? Those files contain 'source' elements which are typically base64 encoded, making them difficult to read by us mortals. The babeloff/fcos-ignition-coder converts an ignition-file into an ignition-directory which contains all the decoded files. This makes it feasible to look at them to identify issues, edit them and reassemble the ignition-file. In particular, 'openshift-install create ignition-configs', generates ignition files that I want to tweak and thus fcos-ignition-coder. After I wrote the thing (wishing openshift-install wrote butane files) I thought it might be of use to you all. If you are not interested that is fine, just trying to be a good citizen.

phreed avatar Oct 30 '25 23:10 phreed