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
1.21.0 installed config is empty #4770
Comments
kata-containers CI (from our repo) is failing and may pretty much be related to this one. I'll open an issue on kata-containers side and link it here |
Yep, printing the defaults commented-out should be a good solution around it. The static binary bundles are affected by that change, too. /help |
@saschagrunert: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm working on this! |
This was intentional, but it is not optimal.
For 1.21.0, we changed the
crio config
command to only print fields that are different than the default. This allows config migration to be easier, and config changes as well.However, now running
make install.config
(which all packaged solutions do, as well as our recommendation for installation from source) installs an empty file--it's all the default!This is sub-par--often users want to use the default config as a way to see the available options.
I take the blame for this one, I guided the solution to #4506 without checking the reprocussions and making sure all stakeholders were okay with the fix.
The good news is: we have another good first issue!
Here are three proposed pieces:
crio config
should print all the fields, with the default ones commented out, instead of omitted. This will be used to populate the default configurationcrio config --all
should print all the fields, with both default and non-default commented outcrio config --verbose
should print only the non-default fields. This will be used for generating drop-in filesThe text was updated successfully, but these errors were encountered: