NO-JIRA: revert(api): remove APIServer Route CEL validation for Azure#8074
Conversation
Remove the CEL XValidation rule that requires Azure HostedClusters to use Route publishing strategy for APIServer. This rule was added in PR openshift#8055 but breaks the e2e-azure-self-managed CI job because the management cluster HostedCluster is created without external DNS, defaulting APIServer to LoadBalancer. The OAuthServer, Konnectivity, and Ignition Route requirements are unaffected — only the APIServer rule is removed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (18)
📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughA kubebuilder CEL ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/lgtm |
|
@sjenning: The 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. |
|
Scheduling tests matching the |
|
/override ci/prow/e2e-aks |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, sjenning 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 |
|
@sjenning: Overrode contexts on behalf of sjenning: ci/prow/e2e-aks, ci/prow/e2e-aws, ci/prow/e2e-aws-upgrade-hypershift-operator, ci/prow/e2e-azure-self-managed, ci/prow/e2e-kubevirt-aws-ovn-reduced, ci/prow/e2e-v2-aws 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-sigs/prow repository. |
|
@bryan-cox: This pull request explicitly references no jira issue. 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. |
|
@bryan-cox: 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. |
Summary
PR #8055 added a CEL XValidation rule requiring Azure HostedClusters to use
Routepublishing strategy for APIServer:This breaks the
e2e-azure-self-managedCI job because the management cluster HostedCluster is created viahypershift create cluster azurewithout--external-dns-domain, andGetIngressServicePublishingStrategyMappingdefaults APIServer toLoadBalancer. The management cluster HostedCluster is rejected by the validation:This reverts only the APIServer Route rule. The existing OAuthServer, Konnectivity, and Ignition Route requirements are unaffected.
The APIServer Route requirement will be re-added in #7821 together with the CLI fix that ensures the Azure create command always sets APIServer to Route.
Test plan
e2e-azure-self-managedCI job passesgo build ./...passesgo test ./cmd/cluster/azure/...passesSummary by CodeRabbit