-
Notifications
You must be signed in to change notification settings - Fork 92
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
Document what happens to a VCH when content trust is enabled on a project #1688
Comments
See also vmware/vic#6778, which is the initial issue for implementing content trust in VCHs. |
See also the manual testing instructions, Test 2-06 Trusted Content. |
Setup:
How this affects the VCH:
Questions:
|
I did a bit of testing and came up with the following answers to my questions above:
We already document that adding the same VCH to projects in different instances of Management Portal is not supported. We should probably note that nothing prevents you from doing this, though. @hickeng and @lazarin does the above reflect what you would expect? |
Stuart, thanks for looking into this in detail. Honestly, we don't have such a scenario in our tests and we have not really validated it, but I will ask @isyarov to go over your steps and try to reproduce them. |
This also applies to 1.3. |
This will require updates in the following sections:
|
Hi Stuart,
I hope that i was able to answer your questions and hope that the info is not misleading/incorrect. Maybe @hickeng can correct me if that's the case. |
Hi @isyarov, apologies for not replying sooner, but I only just noticed your post. Maybe I am misunderstanding something, but it really looks to me like enabling/disabling CT on a project does modify the VCHs that are in that project. Here are my test steps:
This is based on the tests described in https://github.com/vmware/vic-product/blob/master/tests/manual-test-cases/Group2-OVA-Features/2-06-Trusted-Content.md, which test the implementation of vmware/vic#6778. So, this is all expected behaviour. But, it does mean that adding a VCH to project with CT enabled does modify the VCH. Which brings me back to the question that I raised in vmware-archive/admiral#264, about whether we should recommend against adding a VCH to more than one project. |
Some further steps, continuing the example above from where it left off. To recap, we have:
Let's try adding
This is not normal, because This is why I am asking in vmware-archive/admiral#264 whether we should discourage using the same VCH in more than one project. |
Hi Stuart,
I was able to reproduce what you've described and it seems that you're right and in fact, yes the VCH whitelist settings seem to change. I do not know how/when/what changes this settings. This too should probably be documented as it seems that the above statement is not true. And i can't get what is the connection between content trust and whitelisting. I thought that CT is to do with signed images push/pull enforcement whereas whitelisting is to do with registry enforcement, apparently that's not the case. |
Thanks @isyarov. @hickeng @zjs @reasonerjt can you please confirm that the behaviour as described above is correct? And to come back to my question from vmware-archive/admiral#264, should we recommend against using a VCH in more than one project? |
In #1651, @hickeng mentioned that when content trust is enabled on a project, some modification is made to the VCHs in that project.
We do not currently document this, and can find no information about it beyond what @hickeng said in #1651.
@reasonerjt can you please provide some info about what content trust does to a VCH? Thanks!
The text was updated successfully, but these errors were encountered: