-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[AWS] Add LB Type in the infrastructure cluster object via install-config yaml #6478
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| package aws | ||
|
|
||
| import "github.com/aws/aws-sdk-go/aws/endpoints" | ||
| import ( | ||
| "github.com/aws/aws-sdk-go/aws/endpoints" | ||
| configv1 "github.com/openshift/api/config/v1" | ||
| ) | ||
|
|
||
| // Platform stores all the global configuration that all machinesets | ||
| // use. | ||
|
|
@@ -59,6 +62,20 @@ type Platform struct { | |
| // AWS resources that the operators create. | ||
| // +optional | ||
| PropagateUserTag bool `json:"propagateUserTags,omitempty"` | ||
|
|
||
| // LBType allows user to set a load balancer type. | ||
| // When this field is set the default ingresscontroller will get created using the specified LBType. | ||
| // If this field is not set then the default ingress controller of LBType Classic will be created. | ||
|
||
| // Valid values are: | ||
| // * "Classic": A Classic Load Balancer that makes routing decisions at either | ||
| // the transport layer (TCP/SSL) or the application layer (HTTP/HTTPS). See | ||
| // the following for additional details: | ||
| // https://docs.aws.amazon.com/AmazonECS/latest/developerguide/load-balancer-types.html#clb | ||
| // * "NLB": A Network Load Balancer that makes routing decisions at the | ||
| // transport layer (TCP/SSL). See the following for additional details: | ||
| // https://docs.aws.amazon.com/AmazonECS/latest/developerguide/load-balancer-types.html#nlb | ||
| // +optional | ||
| LBType configv1.AWSLBType `json:"lbType,omitempty"` | ||
| } | ||
|
|
||
| // ServiceEndpoint store the configuration for services to | ||
|
|
||
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.
Nit: Some double spaces in the description fileld.
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.
Hmm I see that, but I think this is generated from https://github.com/openshift/installer/pull/6478/files#diff-7941d8da46384fc43b6eeae7d5c3319065b16940457822346c9ccb08cbcf47b4R66, which uses a hanging indent and a bulleted list.
Should I remove the hanging indent and extra spaces from there?
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.
I propose we do that as a follow-up.