Add support for CRIO drop-in config files#1660
Add support for CRIO drop-in config files#1660openshift-merge-robot merged 2 commits intoopenshift:masterfrom
Conversation
|
yowzers that's a lot of files, we gotta remember to bump the vendor in 4.6 🙃 looks good to start, I'll do a more thorough review tomorrow 🎉 😄 |
ed69e88 to
7742abf
Compare
a23d58e to
0a2f2db
Compare
|
looks great @umohnani8 one more nit then LGTM 😄 |
kikisdeliveryservice
left a comment
There was a problem hiding this comment.
I noticed this before, but I think that your custom type called ignitionConfig is confusing and misnamed (seems like it should be dropinFiles or something. Not blocking, but should be fixed.
|
(I have only reviewed the mechanism of the thing, not the substance of change to how CRI-O is configured.) |
|
This should be good now pending CI which hasn't cooperated so far, we'll figure out follow ups then - going to lgtm this as it's definitely done but we need to hear from CI, the lgtm will go away if the code needs changing ofc. /lgtm |
|
/skip |
|
/retest |
1 similar comment
|
/retest |
5527e3e to
1cf769b
Compare
|
/retest |
|
/skip |
9cd492a to
86350ca
Compare
CRI-O now has support for drop-in files in /etc/crio/crio.conf.d so add that functionality to the ctrcfg controller. This will help avoid the issues we run into when we make config changes in cri-o and don't carry them over to the MCO. Remove the crio.conf template and put the MCO overrides in 00-default under the /etc/crio/crio.conf.d directory. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Since we don't depend on cri-o anymore, we no longer need to vendor it. Update other vendor dependencies as well. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
|
/retest |
|
@mrunalp I think this should be merged but we're past that date and it's now asking for a bugzilla, do you know how to proceed here? |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kikisdeliveryservice, mrunalp, runcom, umohnani8 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- What I did
CRI-O now has support for drop-in files in /etc/crio/crio.conf.d
so add that functionality to the ctrcfg controller.
This will help avoid the issues we run into when we make config
changes in cri-o and don't carry them over to the MCO.
Remove the crio.conf template and put the MCO overrides in 00-default
under the /etc/crio/crio.conf.d directory.
Also update the vendor as we no longer depend on cri-o.
- How to verify it
Create ctrcfg CR and the updates should be added to /etc/crio/crio.conf.d/01-newconfig.
- Description for the changelog
Signed-off-by: Urvashi Mohnani umohnani@redhat.com