feat: add TrustManager API types for trust-manager integration (EP-1914) - #487
Conversation
Add the TrustManager CRD (trustmanagers.operator.openshift.io/v1alpha1) API type definitions to enable cert-manager-operator to deploy and manage the trust-manager operand. This implements the API layer for EP-1914 (CM-830: Integrate trust-manager with cert-manager-operator). New types: - TrustManager (cluster-scoped singleton, name must be 'cluster') - TrustManagerSpec with TrustManagerConfig and TrustManagerControllerConfig - SecretTargetsConfig with CEL validation for policy/authorizedSecrets - DefaultCAPackageConfig for OpenShift CA bundle injection - FilterExpiredCertificatesPolicy, SecretTargetsPolicy, DefaultCAPackagePolicy enums Also adds: - TrustManager feature gate (Alpha/TechPreview, default disabled) - Generated deepcopy, client, informer, and lister code - CRD manifest with full validation schema - Comprehensive Go tests and YAML test suite Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: openshift-app-platform-shift[bot] 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 |
|
Hi @openshift-app-platform-shift[bot]. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Summary
TrustManagerCRD API type definitions (trustmanagers.operator.openshift.io/v1alpha1) for managing the trust-manager operand deploymentTrustManagerfeature gate (Alpha/TechPreview, disabled by default) infeatures.goDetails
Implements the API layer for [EP-1914: CM-830 - Integrate trust-manager with cert-manager-operator](openshift/enhancements#1914).
New Types
TrustManagercluster)TrustManagerSpectrustManagerConfig(required) andcontrollerConfig(optional)TrustManagerConfigSecretTargetsConfigDefaultCAPackageConfigTrustManagerControllerConfigValidation Rules
self.metadata.name == 'cluster'trustNamespacefieldTest plan
make generate && make manifestssucceedsgo vet ./...passes🤖 Generated with Claude Code