Skip to content
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

add keylime-poc part 1: docker compose and agent with swtpm #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tuminoid
Copy link
Member

@tuminoid tuminoid commented Oct 28, 2024

Make a Proof of Concept of Keylime is k8s cluster.

This part 1 is adding Keylime in Docker Compose. This doubles as the keylime service part in part 2, where agent(s) move to k8s. Agent image is having SWTPM module built-in, so this environment is portable across machines, regardless of their TPM chip or lack there of.

This POC is needed as the concept of having Keylime Tenant/Verifier/Registrar outside k8s cluster, but Keylime Agent in k8s cluster and being accessed via Ingress/LoadBalancer IP, is something Keylime maintainers did not think originally as a use-case. This has several issues with the current design, and while there is a proposal/ study for changing from "pull model" to "push model", it is miles away and this POC tries to find out the minimal changes needed to make the current model work for this use case.

@metal3-io-bot
Copy link
Member

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from tuminoid. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch 2 times, most recently from b625285 to b66d859 Compare November 11, 2024 06:28
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch 5 times, most recently from dd6115b to fb4d945 Compare November 21, 2024 18:17
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch from 7286735 to a797271 Compare November 25, 2024 07:30
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch from a797271 to 2f605c5 Compare December 3, 2024 10:29
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch from 2f605c5 to 1a796f8 Compare December 3, 2024 15:38
@tuminoid tuminoid marked this pull request as draft December 3, 2024 15:39
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch 7 times, most recently from f92ddee to 475db7a Compare December 11, 2024 06:28
Make a Proof of Concept of Keylime is k8s cluster.

This part 1 is adding Keylime in Docker Compose. This doubles as the
keylime service part in part 2, where agent(s) move to k8s. Agent image
is having SWTPM module built-in, so this environment is portable across
machines, regardless of their TPM chip or lack there of.

This POC is needed as the concept of having Keylime
Tenant/Verifier/Registrar outside k8s cluster, but Keylime Agent in k8s
cluster and being accessed via Ingress/LoadBalancer IP, is something
Keylime maintainers did not think originally as a use-case. This has
several issues with the current design, and while there is a proposal/
study for changing from "pull model" to "push model", it is miles away
and this POC tries to find out the minimal changes needed to make the
current model work for this use case.

Signed-off-by: Tuomo Tanskanen <[email protected]>
@tuminoid tuminoid force-pushed the tuomo/add-keylime-poc branch from 475db7a to 83e5a2e Compare December 11, 2024 06:29
@tuminoid tuminoid changed the title WIP: add keylime-poc add keylime-poc part 1: docker compose and agent with swtpm Dec 11, 2024
@tuminoid tuminoid marked this pull request as ready for review December 11, 2024 06:31
@tuminoid
Copy link
Member Author

/cc @Rozzii @lentzi90 @kashifest

Let's merge part 1 with compose + agent, part 2 will be k8s part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants