Skip to content

Commit d94d4c4

Browse files
zac-nixonniclask25
authored and
niclask25
committed
lb creation
1 parent d0f5cad commit d94d4c4

12 files changed

+1360
-87
lines changed

apis/gateway/v1beta1/loadbalancerconfig_types.go

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ type ListenerAttribute struct {
4444
Value string `json:"value"`
4545
}
4646

47-
// Tag defines a AWS Tag on resources.
48-
type LoadBalancerTag struct {
47+
// AWSTag defines a AWS Tag on resources.
48+
type AWSTag struct {
4949
// The key of the tag.
5050
Key string `json:"key"`
5151

@@ -73,7 +73,7 @@ type SubnetConfiguration struct {
7373

7474
// SourceNatIPv6Prefix [Network LoadBalancer] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.
7575
// +optional
76-
SourceNatIPv6Prefix *string `json:"sourceNatIPv6Prefix,omitempty"`
76+
SourceNatIPv6Prefix *string `json:"sourceNAT,omitempty"`
7777
}
7878

7979
// +kubebuilder:validation:Enum=HTTP1Only;HTTP2Only;HTTP2Optional;HTTP2Preferred;None
@@ -183,10 +183,16 @@ type LoadBalancerConfigurationSpec struct {
183183
// +optional
184184
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `json:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic,omitempty"`
185185

186-
// customerOwnedIpv4Pool is the ID of the customer-owned address for Application Load Balancers on Outposts pool.
186+
// customerOwnedIpv4Pool [Application LoadBalancer]
187+
// is the ID of the customer-owned address for Application Load Balancers on Outposts pool.
187188
// +optional
188189
CustomerOwnedIpv4Pool *string `json:"customerOwnedIpv4Pool,omitempty"`
189190

191+
// IPv4IPAMPoolId [Application LoadBalancer]
192+
// defines the IPAM pool ID used for IPv4 Addresses on the ALB.
193+
// +optional
194+
IPv4IPAMPoolId *string `json:"ipv4IPAMPoolId,omitempty"`
195+
190196
// loadBalancerSubnets is an optional list of subnet configurations to be used in the LB
191197
// This value takes precedence over loadBalancerSubnetsSelector if both are selected.
192198
// +optional
@@ -224,7 +230,19 @@ type LoadBalancerConfigurationSpec struct {
224230

225231
// Tags defines list of Tags on LB.
226232
// +optional
227-
Tags []LoadBalancerTag `json:"tags,omitempty"`
233+
Tags []AWSTag `json:"tags,omitempty"`
234+
235+
// EnableICMP [Network LoadBalancer]
236+
// enables the creation of security group rules to the managed security group
237+
// to allow explicit ICMP traffic for Path MTU discovery for IPv4 and dual-stack VPCs
238+
// +optional
239+
EnableICMP bool `json:"enableICMP,omitempty"`
240+
241+
// ManageBackendSecurityGroupRules [Application / Network LoadBalancer]
242+
// specifies whether you want the controller to configure security group rules on Node/Pod for traffic access
243+
// when you specify securityGroups
244+
// +optional
245+
ManageBackendSecurityGroupRules bool `json:"manageBackendSecurityGroupRules,omitempty"`
228246
}
229247

230248
// TODO -- these can be used to set what generation the gateway is currently on to track progress on reconcile.

apis/gateway/v1beta1/zz_generated.deepcopy.go

Lines changed: 21 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)