OCPBUGS-81452: prevent webhook rollout stalls by issuing certificates earlier#684
OCPBUGS-81452: prevent webhook rollout stalls by issuing certificates earlier#684bandrade wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
@bandrade: This pull request references Jira Issue OCPBUGS-66965, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Walkthrough
Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bandrade 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 |
|
@bandrade: This pull request references Jira Issue OCPBUGS-81452, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
16707ab to
3a91c53
Compare
3a91c53 to
57d188a
Compare
camilamacedo86
left a comment
There was a problem hiding this comment.
Hi @bandrade
This code is maintained in upstream and we sync to here.
So, we need to do this changes in: https://github.com/operator-framework/operator-controller instead. Could you please push those there?
|
@bandrade: 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-sigs/prow repository. I understand the commands that are listed here. |
|
Closing in favor of upstream PR operator-framework/operator-controller#2616: operator-framework/operator-controller#2616 |
|
@bandrade: This pull request references Jira Issue OCPBUGS-81452. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW 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 openshift-eng/jira-lifecycle-plugin repository. |
What changed
Certificateobjects into theinfrastructurephaseIssuerininfrastructureand leave workloadDeploymentobjects indeployWhy
Webhook installs can stall in
RollingOutwhen certificate issuance and deployment availability are gated within the same phase. Starting certificate issuance earlier shortens the rollout critical path for webhook-backed operators.Impact
This reduces the chance that
ClusterExtensioninstallations for webhook operators remain stuck waiting for the generated deployment to become available.Root cause
The rollout path allowed cert-manager
Certificateobjects to be applied in the same phase as the webhook deployment. For operators that mount the serving cert secret, that can delay deployment availability long enough to hit external rollout timeouts.Validation
go test -tags containers_image_openpgp ./internal/operator-controller/applier -run Test_PhaseSort