Skip to content

Commit 1f945dc

Browse files
cnvergencezirain
authored andcommitted
Update kubebuilder tags
Signed-off-by: Karol Szwaj <[email protected]>
1 parent e826155 commit 1f945dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

api/v1alpha1/envoygateway_types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,10 @@ type KubernetesDeployMode struct {
271271
// Type indicates what deployment mode to use. "ControllerNamespace" and
272272
// "GatewayNamespace" are currently supported.
273273
// By default, when this field is unset or empty, Envoy Gateway will deploy Envoy Proxy fleet in the Controller namespace.
274-
Type KubernetesDeployModeType `json:"type,omitempty"`
274+
// +optional
275+
// +kubebuilder:default=ControllerNamespace
276+
// +kubebuilder:validation:Enum=ControllerNamespace;GatewayNamespace
277+
Type *KubernetesDeployModeType `json:"type,omitempty"`
275278
}
276279

277280
// EnvoyGatewayCustomProvider defines configuration for the Custom provider.

0 commit comments

Comments
 (0)