New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-14784: Honor global ingress configuration LoadBalancer type on AWS #2669
OCPBUGS-14784: Honor global ingress configuration LoadBalancer type on AWS #2669
Conversation
The ingress.config.openshift.io API allows setting the type of LoadBalancer to use for AWS ingress. This commit honors that setting when creating the initial default IngressController for clusters on AWS.
@csrwng: This pull request references Jira Issue OCPBUGS-14784, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/jira refresh |
@csrwng: This pull request references Jira Issue OCPBUGS-14784, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (jiezhao@redhat.com), skipping review request. In 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. |
} | ||
|
||
func IngressDomain(hcp *hyperv1.HostedControlPlane) string { | ||
if hcp.Spec.Configuration != nil && hcp.Spec.Configuration.Ingress != nil { | ||
if len(hcp.Spec.Configuration.Ingress.AppsDomain) > 0 { | ||
return hcp.Spec.Configuration.Ingress.AppsDomain | ||
} | ||
return hcp.Spec.Configuration.Ingress.Domain | ||
if len(hcp.Spec.Configuration.Ingress.Domain) > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like an unrelated change where if hcp.Spec.Configuration.Ingress != nil
but hcp.Spec.Configuration.Ingress.Domain
is not set, we default to the apps.$baseDomain
rather than returning ""
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's related in that if you only specify only the NLB setting in config, we end up with a blank domain, unless you also specify it.
/lgtm |
@sjenning: Overrode contexts on behalf of sjenning: Red Hat Trusted App Pipeline / hypershift-operator-main-on-pull-request In 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. |
@csrwng: Jira Issue OCPBUGS-14784: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-14784 has been moved to the MODIFIED state. In 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. |
/cherry-pick release-4.13 |
/cherry-pick release-4.12 |
@csrwng: new pull request created: #2677 In 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. |
@csrwng: new pull request created: #2678 In 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. |
What this PR does / why we need it:
The ingress.config.openshift.io API allows setting the type of LoadBalancer to use for AWS ingress. This commit honors that setting when creating the initial default IngressController for clusters on AWS.
Which issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)
format, where issue_number might be a GitHub issue, or a Jira story:Fixes #OCPBUGS-14784
Checklist