CM-1367: Bump trust-manager operand to v0.24.0 - #495
Conversation
Refresh Helm bindata and the Bundle CRD, apply the cluster-view ClusterRole, and pin related images. Needed so --filter-non-ca-certs is available for the follow-up API PR.
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@arun717: This pull request references CM-1367 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.1.0" version, but no target version was set. DetailsIn 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. |
|
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 (24)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. WalkthroughThe change upgrades trust-manager from v0.20.3 to v0.24.0. It updates Kubernetes assets, strengthens Bundle CRD validation, removes the ChangesTrust-manager upgrade
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant RBACReconciler
participant AssetStore
participant KubernetesAPI
participant ClusterReader
RBACReconciler->>AssetStore: Load cluster-view ClusterRole asset
RBACReconciler->>KubernetesAPI: Get and server-side apply ClusterRole
KubernetesAPI->>ClusterReader: Aggregate bundle read access
KubernetesAPI-->>RBACReconciler: Return reconciliation result
Merge Risk: ⚪ Minimal · up to The trust-manager upgrade consistently updates deployment metadata, images, generated assets, CRD validation, and read-only Bundle RBAC without an identified merge-blocking regression. 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 12.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 4 files. (20 skipped: 20 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: arun717 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 |
|
@arun717: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
RELATED_IMAGE/ CSV, Helm bindata, Bundle CRD).trust-manager-cluster-view(read-onlybundles+aggregate-to-cluster-reader). This stays a separate ClusterRole so cluster-reader does not inherit operand write rules.This is the operand half of CM-1367. The TrustManager
filterNonCACertsAPI lives in #494. Merge this PR first:--filter-non-ca-certsexists only from v0.21.0, so 494’s Enabled path will CrashLoop a v0.20.3 operand.Jira: https://issues.redhat.com/browse/CM-1367
Notes for reviewers
make bundle. Content is v0.24 schema (CEL, length limits, descriptions), not a YAML reformat. Helm output stays inconfig/crd/bases/; do not copy it ontobundle/manifests/.test/go.modstaysgithub.com/cert-manager/trust-manager v0.20.3.go get @v0.24.0pulled k8s 0.36 and brokeopenshift/api. E2e talks to the live Bundle CRD, not that module’s types.images/ci/trustmanager.DockerfilesetsRELEASE_BRANCH=v0.24.0and clonesopenshift/cert-manager-trust-manager. That fork’s latest tag is still v0.20.3; the Dockerfile clone will fail until midstream has the tag. CSV/RELATED_IMAGEusesquay.io/jetstack/trust-manager:v0.24.0.UpdateResourceLabelsreplaces labels, so the aggregate label is set again after that.Test plan
quay.io/jetstack/trust-manager:v0.24.0--filter-non-ca-certs)oc get clusterrole trust-manager-cluster-viewand cluster-reader aggregationSummary by CodeRabbit
New Features
Enhancements