-
Notifications
You must be signed in to change notification settings - Fork 61
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
Improve cri-o support by using pull_type #376
Improve cri-o support by using pull_type #376
Conversation
@beraldoleal @wainersm any plans to have this PR merged for the upcoming 0.9.0 release ? It will be great to have support for deploying CoCo operator on crio based K8s clusters |
Since #365 was merged, I'm removing the draft flag here. |
{ | ||
Name: "PULL_TYPE_MAPPING", | ||
Value: strings.Join(pull_type_mapping, ","), | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is outside my comfort zone, but it looks consistent with how snapshotter is treated.
Currently when deploying using cri-o, reqs-deploy dies with "cri-o is not yet supported". Lets add cri-o support here. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
ff800ad
to
7759b87
Compare
The same way we can customize the snapshotter to be used by the runtime class, lets add a new property to customize the pulling image method. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Signed-off-by: Beraldo Leal <bleal@redhat.com>
7759b87
to
7157c62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Tested this successfully for peer-pods.
|
7157c62
to
b986227
Compare
/test |
1 similar comment
/test |
@ldoktor thanks for the review, let me know if you have further comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks fine to me. It would be good to have a cri-o flavour e2e job, but I guess that can come later.
6bba65f
into
confidential-containers:main
PR confidential-containers#376 introduced support for pull_type option, however the manifest update was missed. This fixes it. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Kata containers is introducing a handler for PULL_TYPE variable to allow configuring CRI-O for guest-pull image pulling.
Lets adapt the operator to propagate this variable.
Most of the work here was made by @wainersm before leaving PTO, I just fixed a few things.
This is related to #365.