From 43ca14d3c89b67ac9827d11dc285afeba82fb29e Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 26 Aug 2024 04:31:19 +0000 Subject: [PATCH] typo fix in app_v1alpha1 Signed-off-by: Tom --- docs/content/en/references/apps_v1alpha1_types.html | 8 ++++---- pkg/apis/apps/v1alpha1/types.go | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/content/en/references/apps_v1alpha1_types.html b/docs/content/en/references/apps_v1alpha1_types.html index b6f5c9f29..67d853764 100644 --- a/docs/content/en/references/apps_v1alpha1_types.html +++ b/docs/content/en/references/apps_v1alpha1_types.html @@ -103,7 +103,7 @@

Application (Optional)

Destination defines the destination clusters where the artifacts will be synced. -It can be overriden by the syncPolicies’ destination.

+It can be overridden by the syncPolicies’ destination.

@@ -346,7 +346,7 @@

ApplicationSpec (Optional)

Destination defines the destination clusters where the artifacts will be synced. -It can be overriden by the syncPolicies’ destination.

+It can be overridden by the syncPolicies’ destination.

@@ -2270,7 +2270,7 @@

Webhook e.g.

webhooks:
 - timeoutSeconds: 15
-commend:
+command:
 - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/"
 

The above example means that during trafficAnalysis, the cmd of “http://flagger-loadtester.test/” is invoked @@ -2306,7 +2306,7 @@

Webhook (Optional) -

Commands define to commends that executed by webhook.

+

Commands define to commands that executed by webhook.

diff --git a/pkg/apis/apps/v1alpha1/types.go b/pkg/apis/apps/v1alpha1/types.go index 78c6c9493..81829aaf5 100644 --- a/pkg/apis/apps/v1alpha1/types.go +++ b/pkg/apis/apps/v1alpha1/types.go @@ -46,7 +46,7 @@ type ApplicationSpec struct { // SyncPolicies controls how the artifact will be customized and where it will be synced. SyncPolicies []*ApplicationSyncPolicy `json:"syncPolicies"` // Destination defines the destination clusters where the artifacts will be synced. - // It can be overriden by the syncPolicies' destination. + // It can be overridden by the syncPolicies' destination. // +optional Destination *ApplicationDestination `json:"destination,omitempty"` } @@ -399,7 +399,7 @@ type CrossNamespaceObjectReference struct { // ```yaml // webhooks: // - timeoutSeconds: 15 -// commend: +// command: // - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/" // // ``` @@ -411,7 +411,7 @@ type Webhook struct { // Defaults to 60 TimeoutSeconds *int `json:"timeoutSeconds,omitempty"` - // Commands define to commends that executed by webhook. + // Commands define to commands that executed by webhook. // +optional Commands []string `json:"command,omitempty"` }