Skip to content

Commit 5f06464

Browse files
committed
chore: merge
2 parents ab021ab + f4f5387 commit 5f06464

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2548
-645
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.5
1+
1.24.6

apis/elbv2/v1beta1/ingressclassparams_types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ type IPAMConfiguration struct {
117117
// IngressClassParamsSpec defines the desired state of IngressClassParams
118118
// +kubebuilder:validation:XValidation:rule="!(has(self.prefixListsIDs) && has(self.PrefixListsIDs))", message="cannot specify both 'prefixListsIDs' and 'PrefixListsIDs' fields"
119119
type IngressClassParamsSpec struct {
120+
// LoadBalancerName defines the name of the load balancer that will be created with this IngressClassParams.
121+
// +optional
122+
LoadBalancerName string `json:"loadBalancerName,omitempty"`
123+
120124
// CertificateArn specifies the ARN of the certificates for all Ingresses that belong to IngressClass with this IngressClassParams.
121125
// +optional
122126
CertificateArn []string `json:"certificateArn,omitempty"`
@@ -185,6 +189,10 @@ type IngressClassParamsSpec struct {
185189
// PrefixListsIDs defines the security group prefix lists for all Ingresses that belong to IngressClass with this IngressClassParams.
186190
// +optional
187191
PrefixListsIDs []string `json:"prefixListsIDs,omitempty"`
192+
193+
// WAFv2ACLArn specifies ARN for the Amazon WAFv2 web ACL.
194+
// +optional
195+
WAFv2ACLArn string `json:"wafv2AclArn"`
188196
}
189197

190198
// +kubebuilder:object:root=true

apis/gateway/v1beta1/listenerruleconfig_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type ActionType string
5959
const (
6060
ActionTypeForward ActionType = "forward"
6161
ActionTypeFixedResponse ActionType = "fixed-response"
62-
ActionTypeEnumRedirect ActionType = "redirect"
62+
ActionTypeRedirect ActionType = "redirect"
6363
ActionTypeAuthenticateCognito ActionType = "authenticate-cognito"
6464
ActionTypeAuthenticateOIDC ActionType = "authenticate-oidc"
6565
)
@@ -81,7 +81,7 @@ type TargetGroupStickinessConfig struct {
8181

8282
// Information about a forward action.
8383
type ForwardActionConfig struct {
84-
84+
// +kubebuilder:default={}
8585
// The target group stickiness for the rule.
8686
// Note: ForwardActionConfig only supports target group stickiness configuration through CRD.
8787
// All other forward action fields must be set through the Gateway API native way.
@@ -263,6 +263,7 @@ type Action struct {
263263
// +kubebuilder:validation:XValidation:rule="!has(self.actions) || size(self.actions) > 0",message="At least one action must be specified if actions field is present"
264264
// +kubebuilder:validation:XValidation:rule="!has(self.actions) || self.actions.all(a, a.type == 'authenticate-oidc' || a.type == 'authenticate-cognito' || a.type == 'fixed-response' || a.type == 'forward' || a.type == 'redirect')",message="Only forward, redirect, authenticate-oidc, authenticate-cognito, and fixed-response action types are supported"
265265
// +kubebuilder:validation:XValidation:rule="!has(self.actions) || size(self.actions.filter(a, a.type == 'authenticate-oidc' || a.type == 'authenticate-cognito')) <= 1",message="At most one authentication action (either authenticate-oidc or authenticate-cognito) can be specified"
266+
// +kubebuilder:validation:XValidation:rule="!has(self.actions) || size(self.actions.filter(a, a.type == 'fixed-response' || a.type == 'forward' || a.type == 'redirect')) <= 1",message="At most one routing action (fixed-response or forward or redirect) can be specified"
266267
type ListenerRuleSpec struct {
267268
// Actions defines the set of actions to be performed when conditions match.
268269
// This CRD implementation currently supports only authenticate-oidc, authenticate-cognito, and fixed-response action types fully and forward and redirect actions partially

config/crd/bases/elbv2.k8s.aws_ingressclassparams.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
kind: IngressClassParams
1212
listKind: IngressClassParamsList
1313
plural: ingressclassparams
14-
singular: ingressclassparams
14+
singular: ingressclassparam
1515
scope: Cluster
1616
versions:
1717
- additionalPrinterColumns:
@@ -149,6 +149,10 @@ spec:
149149
- value
150150
type: object
151151
type: array
152+
loadBalancerName:
153+
description: LoadBalancerName defines the name of the load balancer
154+
that will be created with this IngressClassParams.
155+
type: string
152156
minimumLoadBalancerCapacity:
153157
description: MinimumLoadBalancerCapacity define the capacity reservation
154158
for LoadBalancers for all Ingress that belong to IngressClass with
@@ -279,6 +283,9 @@ spec:
279283
- instance
280284
- ip
281285
type: string
286+
wafv2AclArn:
287+
description: WAFv2ACLArn specifies ARN for the Amazon WAFv2 web ACL.
288+
type: string
282289
type: object
283290
x-kubernetes-validations:
284291
- message: cannot specify both 'prefixListsIDs' and 'PrefixListsIDs' fields

0 commit comments

Comments
 (0)