OCPBUGS-86578: bootstrap serving certs at hypershift operator startup#8599
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
|
@enxebre: This pull request references Jira Issue OCPBUGS-84955, 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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enxebre 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 |
|
@enxebre: This pull request references Jira Issue OCPBUGS-86578, 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. |
|
/jira refresh |
|
@enxebre: This pull request references Jira Issue OCPBUGS-86578, which is invalid:
Comment 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. |
|
/jira refresh |
|
@enxebre: This pull request references Jira Issue OCPBUGS-86578, which is invalid:
Comment 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. |
|
/jira refresh |
|
@enxebre: This pull request references Jira Issue OCPBUGS-86578, which is invalid:
Comment 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. |
bfa51e5 to
fe5f82f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-4.22 #8599 +/- ##
================================================
+ Coverage 35.21% 35.23% +0.01%
================================================
Files 767 767
Lines 93511 93548 +37
================================================
+ Hits 32933 32958 +25
- Misses 57893 57902 +9
- Partials 2685 2688 +3
🚀 New features to boost your workflow:
|
fe5f82f to
98bbf39
Compare
|
/jira refresh |
|
@enxebre: This pull request references Jira Issue OCPBUGS-86578, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
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. |
|
/lgtm |
|
Scheduling tests matching the |
Cherry-pick of openshift#8545 to release-4.22. The webhook server requires TLS certs on disk before it can start listening. Previously, certs were only created via `hypershift install` manifests, meaning the operator would fail to start if the serving cert secret was not yet present like it is the case when running `hypershift install render` without the `--render-sensitive` flag. By adding bootstrap cert generation at startup, the operator is self-sufficient: if the secret exists, the volume mount delivers certs normally; if it is missing or empty, certs are generated, persisted, and written to disk. This also removes the CABundle from CLI-generated webhook configurations and CRD conversion webhooks, since certs are now managed at runtime. Signed-off-by: Alberto Garcia Lamela <agarcial@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
98bbf39 to
84c626c
Compare
|
New changes are detected. LGTM label has been removed. |
|
Scheduling tests matching the |
|
Fix included in release 5.0.0-0.nightly-2026-05-27-134409 |
|
/uncc |
|
/retest |
|
/uncc |
|
/verified by e2e |
|
@enxebre: This PR has been marked as verified by 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. |
|
@enxebre: 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. |
937a38f
into
openshift:release-4.22
|
@enxebre: Jira Issue Verification Checks: Jira Issue OCPBUGS-86578 Jira Issue OCPBUGS-86578 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
Summary
Cherry-pick of #8545 to
release-4.22(backport of OCPBUGS-84955).EnsureWebhookCertsbootstrap at operator startup so the webhook server can start even when cert secrets are not pre-provisioned (e.g.hypershift install renderwithout--render-sensitive)CABundlefrom CLI-generated webhook and CRD conversion webhook configurations — certs are now managed at runtime by the operatorJira: https://issues.redhat.com/browse/OCPBUGS-86578 (clone of https://issues.redhat.com/browse/OCPBUGS-84955)
Test plan
EnsureWebhookCerts(no secrets, existing secrets, empty data, partial secrets)TestSetupCRDsupdated for newsetupCRDssignature🤖 Generated with Claude Code