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
Copy file name to clipboardExpand all lines: apis/v1/gateway_types.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -374,6 +374,8 @@ const (
374
374
)
375
375
376
376
// GatewayTLSConfig describes a TLS configuration.
377
+
//
378
+
// +kubebuilder:validation:XValidation:message="certificateRefs or options must be specified when mode is Terminate",rule="self.mode == 'Terminate' ? size(self.certificateRefs) > 0 || size(self.options) > 0 : true"
377
379
typeGatewayTLSConfigstruct {
378
380
// Mode defines the TLS behavior for the TLS session initiated by the client.
0 commit comments