Skip to content
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

kvpctl check for properly formatted JSON #187

Open
skyblaster opened this issue Dec 7, 2024 · 0 comments · May be fixed by #189
Open

kvpctl check for properly formatted JSON #187

skyblaster opened this issue Dec 7, 2024 · 0 comments · May be fixed by #189

Comments

@skyblaster
Copy link

Following the instructions here, I made a blunder and provided my butane file instead of an ignition file.
kvpctl was happy to apply this file without error, but of course my VM failed to boot.

If it's not too much trouble, would it be possible for kvpctl to simply evaluate the file to be sure it's formatted in JSON and not YAML (or otherwise) before applying it to the image?

It doesn't need to be a full "ignition-validate", just a simple JSON check.

Thanks

@skyblaster skyblaster linked a pull request Dec 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant