Skip to content

Commit fea3ae3

Browse files
committed
fixes to get tg + tgb working
1 parent 8e6f9dc commit fea3ae3

File tree

6 files changed

+2148
-10
lines changed

6 files changed

+2148
-10
lines changed

apis/gateway/v1beta1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.14.0
7+
name: loadbalancerconfigurations.gateway.k8s.aws
8+
spec:
9+
group: gateway.k8s.aws
10+
names:
11+
kind: LoadBalancerConfiguration
12+
listKind: LoadBalancerConfigurationList
13+
plural: loadbalancerconfigurations
14+
singular: loadbalancerconfiguration
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .metadata.creationTimestamp
19+
name: AGE
20+
type: date
21+
name: v1beta1
22+
schema:
23+
openAPIV3Schema:
24+
description: LoadBalancerConfiguration is the Schema for the LoadBalancerConfiguration
25+
API
26+
properties:
27+
apiVersion:
28+
description: |-
29+
APIVersion defines the versioned schema of this representation of an object.
30+
Servers should convert recognized schemas to the latest internal value, and
31+
may reject unrecognized values.
32+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33+
type: string
34+
kind:
35+
description: |-
36+
Kind is a string value representing the REST resource this object represents.
37+
Servers may infer this from the endpoint the client submits requests to.
38+
Cannot be updated.
39+
In CamelCase.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41+
type: string
42+
metadata:
43+
type: object
44+
spec:
45+
description: LoadBalancerConfigurationSpec defines the desired state of
46+
LoadBalancerConfiguration
47+
properties:
48+
customerOwnedIpv4Pool:
49+
description: |-
50+
customerOwnedIpv4Pool [Application LoadBalancer]
51+
is the ID of the customer-owned address for Application Load Balancers on Outposts pool.
52+
type: string
53+
enableICMP:
54+
description: |-
55+
EnableICMP [Network LoadBalancer]
56+
enables the creation of security group rules to the managed security group
57+
to allow explicit ICMP traffic for Path MTU discovery for IPv4 and dual-stack VPCs
58+
type: boolean
59+
enableMultiCluster:
60+
description: |-
61+
EnableMultiCluster [Application / Network LoadBalancer]
62+
All TargetGroupBindings attached to this Load Balancer will have multi cluster support enabled.
63+
type: boolean
64+
enforceSecurityGroupInboundRulesOnPrivateLinkTraffic:
65+
description: enforceSecurityGroupInboundRulesOnPrivateLinkTraffic
66+
Indicates whether to evaluate inbound security group rules for traffic
67+
sent to a Network Load Balancer through Amazon Web Services PrivateLink.
68+
type: string
69+
ipAddressType:
70+
description: loadBalancerIPType defines what kind of load balancer
71+
to provision (ipv4, dual stack)
72+
enum:
73+
- ipv4
74+
- dualstack
75+
- dualstack-without-public-ipv4
76+
type: string
77+
ipv4IPAMPoolId:
78+
description: |-
79+
IPv4IPAMPoolId [Application LoadBalancer]
80+
defines the IPAM pool ID used for IPv4 Addresses on the ALB.
81+
type: string
82+
listenerConfigurations:
83+
description: listenerConfigurations is an optional list of configurations
84+
for each listener on LB
85+
items:
86+
properties:
87+
alpnPolicy:
88+
description: alpnPolicy an optional string that allows you to
89+
configure ALPN policies on your Load Balancer
90+
enum:
91+
- HTTP1Only
92+
- HTTP2Only
93+
- HTTP2Optional
94+
- HTTP2Preferred
95+
- None
96+
type: string
97+
certificates:
98+
description: certificates is the list of other certificates
99+
to add to the listener.
100+
items:
101+
type: string
102+
type: array
103+
defaultCertificate:
104+
description: |-
105+
TODO: Add validation in admission webhook to make it required for secure protocols
106+
defaultCertificate the cert arn to be used by default.
107+
type: string
108+
listenerAttributes:
109+
description: listenerAttributes defines the attributes for the
110+
listener
111+
items:
112+
description: ListenerAttribute defines listener attribute.
113+
properties:
114+
key:
115+
description: The key of the attribute.
116+
type: string
117+
value:
118+
description: The value of the attribute.
119+
type: string
120+
required:
121+
- key
122+
- value
123+
type: object
124+
type: array
125+
mutualAuthentication:
126+
description: mutualAuthentication defines the mutual authentication
127+
configuration information.
128+
properties:
129+
advertiseTrustStoreCaNames:
130+
description: Indicates whether trust store CA certificate
131+
names are advertised.
132+
enum:
133+
- "on"
134+
- "off"
135+
type: string
136+
ignoreClientCertificateExpiry:
137+
description: Indicates whether expired client certificates
138+
are ignored.
139+
type: boolean
140+
mode:
141+
description: The client certificate handling method. Options
142+
are off , passthrough or verify
143+
enum:
144+
- "off"
145+
- passthrough
146+
- verify
147+
type: string
148+
trustStore:
149+
description: The Name or ARN of the trust store.
150+
type: string
151+
required:
152+
- mode
153+
type: object
154+
protocolPort:
155+
description: protocolPort is identifier for the listener on
156+
load balancer. It should be of the form PROTOCOL:PORT
157+
pattern: ^(HTTP|HTTPS|TLS|TCP|UDP)?:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3})?$
158+
type: string
159+
sslPolicy:
160+
description: sslPolicy is the security policy that defines which
161+
protocols and ciphers are supported for secure listeners [HTTPS
162+
or TLS listener].
163+
type: string
164+
required:
165+
- protocolPort
166+
type: object
167+
type: array
168+
loadBalancerAttributes:
169+
description: LoadBalancerAttributes defines the attribute of LB
170+
items:
171+
description: LoadBalancerAttribute defines LB attribute.
172+
properties:
173+
key:
174+
description: The key of the attribute.
175+
type: string
176+
value:
177+
description: The value of the attribute.
178+
type: string
179+
required:
180+
- key
181+
- value
182+
type: object
183+
type: array
184+
loadBalancerName:
185+
description: loadBalancerName defines the name of the LB to provision.
186+
If unspecified, it will be automatically generated.
187+
maxLength: 32
188+
minLength: 1
189+
type: string
190+
loadBalancerSubnets:
191+
description: |-
192+
loadBalancerSubnets is an optional list of subnet configurations to be used in the LB
193+
This value takes precedence over loadBalancerSubnetsSelector if both are selected.
194+
items:
195+
description: SubnetConfiguration defines the subnet settings for
196+
a Load Balancer.
197+
properties:
198+
eipAllocation:
199+
description: eipAllocation [Network LoadBalancer] the EIP name
200+
for this subnet.
201+
type: string
202+
identifier:
203+
description: identifier [Application LoadBalancer / Network
204+
LoadBalancer] name or id for the subnet
205+
type: string
206+
ipv6Allocation:
207+
description: IPv6Allocation [Network LoadBalancer] the ipv6
208+
address to assign to this subnet.
209+
type: string
210+
privateIPv4Allocation:
211+
description: privateIPv4Allocation [Network LoadBalancer] the
212+
private ipv4 address to assign to this subnet.
213+
type: string
214+
sourceNatIPv6Prefix:
215+
description: SourceNatIPv6Prefix [Network LoadBalancer] The
216+
IPv6 prefix to use for source NAT. Specify an IPv6 prefix
217+
(/80 netmask) from the subnet CIDR block or auto_assigned
218+
to use an IPv6 prefix selected at random from the subnet CIDR
219+
block.
220+
type: string
221+
type: object
222+
type: array
223+
loadBalancerSubnetsSelector:
224+
additionalProperties:
225+
items:
226+
type: string
227+
type: array
228+
description: |-
229+
LoadBalancerSubnetsSelector specifies subnets in the load balancer's VPC where each
230+
tag specified in the map key contains one of the values in the corresponding
231+
value list.
232+
type: object
233+
manageBackendSecurityGroupRules:
234+
description: |-
235+
ManageBackendSecurityGroupRules [Application / Network LoadBalancer]
236+
specifies whether you want the controller to configure security group rules on Node/Pod for traffic access
237+
when you specify securityGroups
238+
type: boolean
239+
scheme:
240+
description: scheme defines the type of LB to provision. If unspecified,
241+
it will be automatically inferred.
242+
enum:
243+
- internal
244+
- internet-facing
245+
type: string
246+
securityGroupPrefixes:
247+
description: securityGroupPrefixes an optional list of prefixes that
248+
are allowed to access the LB.
249+
items:
250+
type: string
251+
type: array
252+
securityGroups:
253+
description: securityGroups an optional list of security group ids
254+
or names to apply to the LB
255+
items:
256+
type: string
257+
type: array
258+
sourceRanges:
259+
description: sourceRanges an optional list of CIDRs that are allowed
260+
to access the LB.
261+
items:
262+
type: string
263+
type: array
264+
tags:
265+
description: Tags defines list of Tags on LB.
266+
items:
267+
description: AWSTag defines a AWS Tag on resources.
268+
properties:
269+
key:
270+
description: The key of the tag.
271+
type: string
272+
value:
273+
description: The value of the tag.
274+
type: string
275+
required:
276+
- key
277+
- value
278+
type: object
279+
type: array
280+
vpcId:
281+
description: vpcId is the ID of the VPC for the load balancer.
282+
type: string
283+
type: object
284+
status:
285+
description: LoadBalancerConfigurationStatus defines the observed state
286+
of TargetGroupBinding
287+
properties:
288+
observedGatewayClassConfigurationGeneration:
289+
description: The generation of the Gateway Configuration attached
290+
to the GatewayClass object.
291+
format: int64
292+
type: integer
293+
observedGatewayConfigurationGeneration:
294+
description: The generation of the Gateway Configuration attached
295+
to the Gateway object.
296+
format: int64
297+
type: integer
298+
type: object
299+
type: object
300+
served: true
301+
storage: true
302+
subresources:
303+
status: {}

0 commit comments

Comments
 (0)