Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Apr 25, 2024
1 parent d73d1bf commit f4ae9ab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
25 changes: 25 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,8 @@ func TestDeployment(t *testing.T) {

if tc.shutdownManager != nil {
cfg.EnvoyGateway.Provider.Kubernetes.ShutdownManager = tc.shutdownManager
} else {
cfg.EnvoyGateway.Provider.Kubernetes.ShutdownManager = nil
}

if len(tc.extraArgs) > 0 {
Expand Down
15 changes: 15 additions & 0 deletions site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ _Appears in:_
| `deploy` | _[KubernetesDeployMode](#kubernetesdeploymode)_ | false | Deploy holds configuration of how output managed resources such as the Envoy Proxy data plane<br />should be deployed |
| `overwriteControlPlaneCerts` | _boolean_ | false | OverwriteControlPlaneCerts updates the secrets containing the control plane certs, when set. |
| `leaderElection` | _[LeaderElection](#leaderelection)_ | false | LeaderElection specifies the configuration for leader election.<br />If it's not set up, leader election will be active by default, using Kubernetes' standard settings. |
| `shutdownManager` | _[ShutdownManager](#shutdownmanager)_ | false | ShutdownManager defines the configuration for the shutdown manager. |


#### EnvoyGatewayLogComponent
Expand Down Expand Up @@ -2944,6 +2945,20 @@ _Appears in:_
| `minDrainDuration` | _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | false | MinDrainDuration defines the minimum drain duration allowing time for endpoint deprogramming to complete.<br />If unspecified, defaults to 5 seconds. |


#### ShutdownManager



ShutdownManager defines the configuration for the shutdown manager.

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `image` | _string_ | true | Image specifies the ShutdownManager container image to be used, instead of the default image. |


#### SlowStart


Expand Down

0 comments on commit f4ae9ab

Please sign in to comment.