You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -81,7 +81,7 @@ type TargetGroupStickinessConfig struct {
81
81
82
82
// Information about a forward action.
83
83
typeForwardActionConfigstruct {
84
-
84
+
// +kubebuilder:default={}
85
85
// The target group stickiness for the rule.
86
86
// Note: ForwardActionConfig only supports target group stickiness configuration through CRD.
87
87
// All other forward action fields must be set through the Gateway API native way.
@@ -263,6 +263,7 @@ type Action struct {
263
263
// +kubebuilder:validation:XValidation:rule="!has(self.actions) || size(self.actions) > 0",message="At least one action must be specified if actions field is present"
// +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"
266
267
typeListenerRuleSpecstruct {
267
268
// Actions defines the set of actions to be performed when conditions match.
268
269
// This CRD implementation currently supports only authenticate-oidc, authenticate-cognito, and fixed-response action types fully and forward and redirect actions partially
// Skipping building actions from filter updates for now since having a ListenerRuleConfig means extesnionRef has been added and for now we dont want to take any actions.
233
-
// TODO :Consume ListenerRuleConfig properly to build actions.
0 commit comments