Skip to content

[WIP] CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification#2029

Open
flavianmissi wants to merge 2 commits into
openshift:masterfrom
flavianmissi:image-verification-and-certification
Open

[WIP] CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification#2029
flavianmissi wants to merge 2 commits into
openshift:masterfrom
flavianmissi:image-verification-and-certification

Conversation

@flavianmissi
Copy link
Copy Markdown
Member

No description provided.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 29, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented May 29, 2026

@flavianmissi: This pull request references CNTRLPLANE-2938 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@flavianmissi flavianmissi changed the title CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification WIP CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification May 29, 2026
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 29, 2026
@flavianmissi flavianmissi changed the title WIP CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification [WIP] CNTRLPLANE-2938: update kms EP with plugin image certification and signature verification May 29, 2026
@openshift-ci openshift-ci Bot requested review from dustymabe and enxebre May 29, 2026 14:14
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 29, 2026

[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 assign jwmatthews for approval. For more information see the Code Review Process.

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

Details 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

OpenShift must be able to verify image signatures in air-gapped clusters, and
public key encryption works well in this scenario.

In addition to signing their KMS plugin image, vendors will provide OpenShift
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can enforce vendors to implement OpenShift operator (i.e. Vault, AWS, Thales, etc.). Even if we can, that means such important functionality will be deployed as optional operator. Do we really need an operator for this?

Why can't we document and ask cluster-admin manually deploys this resource with advanced security protections?.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, that would be difficult. I've updated the text to instruct users to do this instead.

- Encrypt/decrypt operations under various conditions
- Plugin behavior during upgrades and migrations

Vendors extract the test binary from the release payload and execute it against
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add details about how we will prohibit the usage of arbitrary images?.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if there's an effective way to prevent this. We can only make it easier for customers to do the right thing, but as far as I know there aren't any hard checks we can do without hard-coding things in OpenShift's payload (which I don't think we should do).

What did you have in mind?

`ClusterImagePolicy` example:
```yaml
apiVersion: config.openshift.io/v1alpha1
kind: ClusterImagePolicy
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, this is an elegant way of fixing our problem.

@flavianmissi flavianmissi force-pushed the image-verification-and-certification branch 2 times, most recently from 7239873 to 8b9a06d Compare June 5, 2026 11:54
@flavianmissi flavianmissi force-pushed the image-verification-and-certification branch from 8b9a06d to 3a0cacf Compare June 5, 2026 12:31
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 5, 2026

@flavianmissi: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants