wire real plugin#2248
Conversation
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughReplace the Vault KMS test plugin image with a CI registry digest reference ( ChangesVault KMS Test Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 inconclusive)
✅ Passed checks (13 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gangwgr The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/library/encryption/kms/vault.go`:
- Line 29: Replace the mutable image tag used in the defaultVaultKMSPluginImage
constant with a digest-pinned reference (append `@sha256`:<digest> or replace the
:0.0.1 tag entirely) so the Vault KMS plugin image is immutable in CI; locate
defaultVaultKMSPluginImage in test/library/encryption/kms/vault.go and update
its value to the specific image@sha256:... digest to ensure deterministic,
reproducible test runs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 94679588-fe43-4664-aaa1-f57e880b991b
📒 Files selected for processing (1)
test/library/encryption/kms/vault.go
| defaultVaultPodName = "vault-0" | ||
| defaultVaultCredentialsSecret = "vault-credentials" | ||
| defaultVaultAppRoleSecretName = "vault-approle-secret" | ||
| defaultVaultKMSPluginImage = "quay.io/openshifttest/mock-kms-plugin@sha256:03bb07a2c08b509653c4c70217a06a4b389c10b4d87922f50ee5eac82db5e140" |
There was a problem hiding this comment.
We can keep this in new variable with the name defaultfakevaultkmspluginimage
There was a problem hiding this comment.
still on my first coffee, but I think we should make this more visually distinct.
Like, FAKE_defaultVaultKMSPluginImage, hiding fake in between is a bit difficult to spot where we're using it. Just to make sure we don't mix it up.
| defaultVaultCredentialsSecret = "vault-credentials" | ||
| defaultVaultAppRoleSecretName = "vault-approle-secret" | ||
| defaultfakevaultkmspluginimage = "quay.io/openshifttest/mock-kms-plugin@sha256:03bb07a2c08b509653c4c70217a06a4b389c10b4d87922f50ee5eac82db5e140" | ||
| defaultVaultKMSPluginImage = "registry.ci.openshift.org/control-plane-custom-builds/vault-kube-kms:0.0.1" |
There was a problem hiding this comment.
do you mind to open a quick KAS-O PR with this? so we can see what CI says
There was a problem hiding this comment.
ah nvm, you already did openshift/cluster-kube-apiserver-operator#2170
Summary by CodeRabbit