File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -254,10 +254,24 @@ type KubernetesWatchMode struct {
254254 NamespaceSelector * metav1.LabelSelector `json:"namespaceSelector,omitempty"`
255255}
256256
257+ const (
258+ // KubernetesWatchModeTypeGControllerNamespace indicates that the controller namespace is used for the infra proxy deployments.
259+ KubernetesDeployModeTypeControllerNamespace = "ControllerNamespace"
260+
261+ // KubernetesWatchModeTypeGatewayNamespace indicates that the gateway namespace is used for the infra proxy deployments.
262+ KubernetesDeployModeTypeGatewayNamespace = "GatewayNamespace"
263+ )
264+
265+ // KubernetesWatchModeType defines the type of KubernetesWatchMode
266+ type KubernetesDeployModeType string
267+
257268// KubernetesDeployMode holds configuration for how to deploy managed resources such as the Envoy Proxy
258269// data plane fleet.
259270type KubernetesDeployMode struct {
260- // TODO
271+ // Type indicates what deploy mode to use. KubernetesDeployModeTypeControllerNamespace and
272+ // KubernetesDeployModeTypeGatewayNamespace are currently supported.
273+ // 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"`
261275}
262276
263277// EnvoyGatewayCustomProvider defines configuration for the Custom provider.
You can’t perform that action at this time.
0 commit comments