-
Notifications
You must be signed in to change notification settings - Fork 60
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
Kata main payload #298
Kata main payload #298
Conversation
377f290
to
6aaa279
Compare
/test |
hi @stevenhorsman , the changes you made look correct but we still need to fix at least one problem: not all runtimeClasses passed to the kata-deploy (
|
I'm not sure if it is formally documented anywhere, but @fidencio and I have discussed TDX with CLH before not being in |
/test |
@@ -215,11 +215,7 @@ metadata: | |||
"name": "kata-clh", | |||
"snapshotter": "nydus" | |||
}, | |||
{ |
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.
just one comment for the records (maybe I should document it). We have been updating manually the bundle/manifests files but in reality they should be generated by make bundle
.
On the case of this PR, first edit the configuration file:
diff --git a/config/samples/ccruntime/default/kustomization.yaml b/config/samples/ccruntime/default/kustomization.yaml
index 03c49f9..b22bc16 100644
--- a/config/samples/ccruntime/default/kustomization.yaml
+++ b/config/samples/ccruntime/default/kustomization.yaml
@@ -20,8 +20,6 @@ patches:
value:
- name: "kata-clh"
snapshotter: "nydus"
- - name: "kata-clh-tdx"
- snapshotter: "nydus"
- name: "kata-qemu"
snapshotter: "nydus"
- name: "kata-qemu-tdx"
Then run make bundle IMG=quay.io/confidential-containers/operator:v0.8.0
resulting in:
diff --git a/bundle/manifests/cc-operator.clusterserviceversion.yaml b/bundle/manifests/cc-operator.clusterserviceversion.yaml
index bb27a36..3be280d 100644
--- a/bundle/manifests/cc-operator.clusterserviceversion.yaml
+++ b/bundle/manifests/cc-operator.clusterserviceversion.yaml
@@ -215,10 +215,6 @@ metadata:
"name": "kata-clh",
"snapshotter": "nydus"
},
- {
- "name": "kata-clh-tdx",
- "snapshotter": "nydus"
- },
{
"name": "kata-qemu",
"snapshotter": "nydus"
@@ -250,8 +246,8 @@ metadata:
]
capabilities: Basic Install
categories: Security
- containerImage: quay.io/confidential-containers/operator:v0.8.0
- createdAt: "2023-11-15T15:02:03Z"
+ containerImage: quay.io/confidential-containers/operator:latest
+ createdAt: "2023-11-30T13:25:18Z"
operators.operatorframework.io/builder: operator-sdk-v1.30.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: cc-operator.v0.8.0
diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml
index 1c64f81..b247c45 100644
--- a/config/manager/kustomization.yaml
+++ b/config/manager/kustomization.yaml
@@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/confidential-containers/operator
- newTag: latest
+ newTag: v0.8.0
diff --git a/config/samples/ccruntime/default/kustomization.yaml b/config/samples/ccruntime/default/kustomization.yaml
index 03c49f9..b22bc16 100644
--- a/config/samples/ccruntime/default/kustomization.yaml
+++ b/config/samples/ccruntime/default/kustomization.yaml
@@ -20,8 +20,6 @@ patches:
value:
- name: "kata-clh"
snapshotter: "nydus"
- - name: "kata-clh-tdx"
- snapshotter: "nydus"
- name: "kata-qemu"
snapshotter: "nydus"
- name: "kata-qemu-tdx"
ps: don't know why it changed containerImage
to latest, it is supposed to keep v0.8.0, probably a misconfiguration somewhere
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.
I've re-gened the bundle using your command, and fixup'd. It looks like it's mostly the timestamp and formatting that have updated. We'll see how the tests go once #299 is merged
1adaa47
to
ca3577e
Compare
ca3577e
to
825af65
Compare
/test |
@BbolroC - hey Choi, the test for this are failing on s390x (in both Jenkins and locally) as the s390x kustomization.yaml file references the operator/config/samples/ccruntime/s390x/kustomization.yaml Lines 21 to 22 in 4d65952
which is not in the kata-deploy payload yet, so the operator-daemon-install fails:
I'm guessing that will be done under kata-containers/kata-containers#6755, so wondered if that work is going to be merged soon, or if we can drop the |
Yeah, let's drop it off now. I will raise a PR for the re-introduction. Thanks for the notice. 😉 |
/test |
- Switch the `CCv0` payload to the kata-deploy main version - Note: I've not replaced the enclave-cc payloads as they are created in a different way IIUC Fixes: confidential-containers#297 Signed-off-by: stevenhorsman <[email protected]>
- Now 0.8 has release, switch back to testing latest reqs-payload image Signed-off-by: stevenhorsman <[email protected]>
- Now 0.8 is released update operator to pick up latest image Signed-off-by: stevenhorsman <[email protected]>
The clh-tdx runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
The clh-tdx runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
The clh-tdx runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
The clh-tdx runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
The kata-qemu-se runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
The kata-qemu-se runtime class isn't supported at the moment on `main`, so drop references to it as part of switching to use kata-deploy Signed-off-by: stevenhorsman <[email protected]>
234b111
to
63fa8b0
Compare
/test |
"hey, let's switch to the main branch, it should be as easy as point to the other payload".... and here we are with 9 commits @stevenhorsman is there any missing piece? Can I approve and merge when I get one more ack? |
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.
@stevenhorsman thanks again!
I'm just trying to break it down for ease of review (I've learnt from you and Fabiano !)
Nothing missing that I know about |
Hi @bpradipt ! do you have time to review this one? :D |
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, thanks @stevenhorsman!
CCv0
payload to the kata-deploy main version