generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
CEL validation currently requires that CertificateRefs are specified when TLS mode is set to "Terminate":
gateway-api/apis/v1/gateway_types.go
Line 378 in 195d988
// +kubebuilder:validation:XValidation:message="certificateRefs must be specified when TLSModeType is Terminate",rule="self.mode == 'Terminate' ? size(self.certificateRefs) > 0 : true" |
What you expected to happen:
This validation should be removed as implementations should be able to support other ways to configure TLS certificates. (One example would be GKE, but I don't think it is a secure practice to require all TLS certificates to be configured within a cluster).
Thanks to @gauravkghildiyal for catching this one!
gauravkghildiyal and zhaohuabing
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.