Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed May 12, 2023
1 parent 931f224 commit 5a9065d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 50 deletions.
5 changes: 1 addition & 4 deletions api/config/v1alpha1/envoygateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ type KubernetesWatchMode struct {
// KubernetesDeployMode holds configuration for how to deploy managed resources such as the Envoy Proxy
// data plane fleet.
type KubernetesDeployMode struct {
// EnvoyNamespaceType decides the namespace in which the managed Envoy Proxy data plane fleet
// will be deployed in.
// +optional
EnvoyNamespaceType *EnvoyKubernetesNamespaceType `json:"envoyNamespaceType,omitempty"`
// TODO
}

// EnvoyGatewayFileProvider defines configuration for the File provider.
Expand Down
36 changes: 8 additions & 28 deletions api/config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 4 additions & 18 deletions docs/latest/api/config_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ _Appears in:_
| Field | Description |
| --- | --- |
| `rateLimitDeployment` _[KubernetesDeploymentSpec](#kubernetesdeploymentspec)_ | RateLimitDeployment defines the desired state of the Envoy ratelimit deployment resource. If unspecified, default settings for the manged Envoy ratelimit deployment resource are applied. |
| `mode` _[KubernetesMode](#kubernetesmode)_ | Mode defines the configuration that decides the deployment model of the controller |
| `watch` _[KubernetesWatchMode](#kuberneteswatchmode)_ | Watch holds configuration of which input resources should be watched and reconciled. |
| `deploy` _[KubernetesDeployMode](#kubernetesdeploymode)_ | Deploy holds configuration of how output managed resources such as the Envoy Proxy data plane should be deployed |


## EnvoyGatewayProvider
Expand Down Expand Up @@ -275,7 +276,7 @@ _Appears in:_
KubernetesDeployMode holds configuration for how to deploy managed resources such as the Envoy Proxy data plane fleet.

_Appears in:_
- [KubernetesMode](#kubernetesmode)
- [EnvoyGatewayKubernetesProvider](#envoygatewaykubernetesprovider)



Expand All @@ -296,21 +297,6 @@ _Appears in:_
| `container` _[KubernetesContainerSpec](#kubernetescontainerspec)_ | Container defines the resources and securityContext of container. |


## KubernetesMode



KubernetesMode holds the deployment model configuration when running Envoy Gateway in Kubernetes

_Appears in:_
- [EnvoyGatewayKubernetesProvider](#envoygatewaykubernetesprovider)

| Field | Description |
| --- | --- |
| `watch` _[KubernetesWatchMode](#kuberneteswatchmode)_ | Watch holds configuration of which input resources should be watched and reconciled. |
| `deploy` _[KubernetesDeployMode](#kubernetesdeploymode)_ | Deploy holds configuration of how output managed resources such as the Envoy Proxy data plane should be deployed |


## KubernetesPodSpec


Expand Down Expand Up @@ -348,7 +334,7 @@ _Appears in:_
KubernetesWatchMode holds the configuration for which input resources to watch and reconcile.

_Appears in:_
- [KubernetesMode](#kubernetesmode)
- [EnvoyGatewayKubernetesProvider](#envoygatewaykubernetesprovider)

| Field | Description |
| --- | --- |
Expand Down

0 comments on commit 5a9065d

Please sign in to comment.