OCPBUGS-20164: Capabilities fix for Build CRD#1618
OCPBUGS-20164: Capabilities fix for Build CRD#1618openshift-ci[bot] merged 3 commits intoopenshift:masterfrom
Conversation
Add missing `capability.openshift.io/name` annotation to the Build cluster configuration CRD. This will ensure that the config object for the Build sub-system is not created when the Build capability is not enabled. Also annotate the empty-resources Build CRD so that it is linked with the appropriate cluster capability in the payload empty-resources.
Marking the Build CRD as "owned" by openshift-controller-manager- operator. This means that its CRD manifest will be included in the ocm-o image, with the right annotations to mark it as part of the "Build" capability.
Remove the Build CRD from the payload command's empty resources. Rendering of the CRD will be done by ocm-o.
|
@adambkaplan: This pull request references Jira Issue OCPBUGS-20164, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. 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 kubernetes/test-infra repository. |
|
Hello @adambkaplan! Some important instructions when contributing to openshift/api: |
|
Also requires openshift/cluster-openshift-controller-manager-operator#306 for everything to work |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, bparees The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Removing WIP - confirmed with the linked PRs that the Build CRD does not show up when a cluster installs with no capabilities. |
|
/override ci/prow/verify-crd-schema job is complaining because we renamed+touched the CRD, but the complaints are not about the actual changes being made to the CRD and they are issues w/ the CRD that (at least mostly) can't/won't be fixed at this point (the CRD predates the api rules in question) |
|
@bparees: Overrode contexts on behalf of bparees: ci/prow/verify-crd-schema 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 kubernetes/test-infra repository. |
|
@adambkaplan: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
|
@adambkaplan: Jira Issue OCPBUGS-20164: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-20164 has not been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
|
Fix included in accepted release 4.15.0-0.nightly-2023-10-17-065657 |
Marking the Build CRD as associated with the "Build" capability and "owned" by openshift-controller-manager-
operator. This means that its CRD manifest will be included in the ocm-o image, with the right annotations to mark it as part of the "Build" capability.
Follow up on #1616