-
Notifications
You must be signed in to change notification settings - Fork 93
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
initdata: use annotation to provision config files #1912
Conversation
9c07b89
to
2312a99
Compare
Create a peerpod against pod yaml as below:
Where
Check it on s390x for libvirt provider, in created PeerPod, check the files under
Make it ready to review and I'll add unit test code according to review comments. |
Use pod yaml:
Where
Check PeerPod:
|
195e2f2
to
fb04462
Compare
8644aca
to
8f8cb70
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.
I think we want to bump the kata containers revision a commit that works?
I think we should remove AA_KBC_PARAMS support together with this change, otherwise it would be weird to have per-deployment and per-pod aa/cdh configuration overlapping.
Thanks @mkulke for remind it, I just realized KBS is deployed dynamically in e2e test and using |
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.
looks good! a couple of nits
Few things are unclear to me (most likely I missed) and hence asking question here
Also, I think if some commits are squashed and cleaned up it'll be easier to review :-) |
b496ad8
to
74a8284
Compare
@bpradipt |
Fixes: confidential-containers#1895 Signed-off-by: Qi Feng Huo <[email protected]>
I think there are 2 issues we have to consider before merging init-data
So, one idea to still get this merged in this state would be:
btw, I don't know how the remote attestation verification of initdata would look like in the sample attester, it probably won't work unless we extend the sample attester to keep some in-memory log that is attached to the evidence? |
The key problem to remove |
Not sure I understand fully. Do you mean if |
2ffccd9
to
23912ce
Compare
use annotation and initdata to provision config only when AA_KBC_PARAMS not set Signed-off-by: Qi Feng Huo <[email protected]>
This makes sense. If AA_KBC_PARAMS is set CAA can ignore the initdata annotation and log it. |
Update md file and test case for certs Signed-off-by: Qi Feng Huo <[email protected]>
Calculate initdata digest based on raw string rather than b64 Signed-off-by: Qi Feng Huo <[email protected]>
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.
thanks for taking this on - and accommodating all the suggestions!
a59deed
into
confidential-containers:main
Fixes: #1895