Skip to content

Commit

Permalink
typo fix in app_v1alpha1
Browse files Browse the repository at this point in the history
Signed-off-by: Tom <yusencao@outlook.com>
  • Loading branch information
Flying-Tom committed Aug 26, 2024
1 parent 5595f7c commit 43ca14d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/content/en/references/apps_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h3 id="apps.kurator.dev/v1alpha1.Application">Application
<td>
<em>(Optional)</em>
<p>Destination defines the destination clusters where the artifacts will be synced.
It can be overriden by the syncPolicies&rsquo; destination.</p>
It can be overridden by the syncPolicies&rsquo; destination.</p>
</td>
</tr>
</table>
Expand Down Expand Up @@ -346,7 +346,7 @@ <h3 id="apps.kurator.dev/v1alpha1.ApplicationSpec">ApplicationSpec
<td>
<em>(Optional)</em>
<p>Destination defines the destination clusters where the artifacts will be synced.
It can be overriden by the syncPolicies&rsquo; destination.</p>
It can be overridden by the syncPolicies&rsquo; destination.</p>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -2270,7 +2270,7 @@ <h3 id="apps.kurator.dev/v1alpha1.Webhook">Webhook
e.g.</p>
<pre><code class="language-yaml">webhooks:
- timeoutSeconds: 15
commend:
command:
- &quot;hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/&quot;
</code></pre>
<p>The above example means that during trafficAnalysis, the cmd of &ldquo;<a href="http://flagger-loadtester.test/&quot;">http://flagger-loadtester.test/&rdquo;</a> is invoked
Expand Down Expand Up @@ -2306,7 +2306,7 @@ <h3 id="apps.kurator.dev/v1alpha1.Webhook">Webhook
</td>
<td>
<em>(Optional)</em>
<p>Commands define to commends that executed by webhook.</p>
<p>Commands define to commands that executed by webhook.</p>
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/apps/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down Expand Up @@ -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/"
//
// ```
Expand All @@ -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"`
}
Expand Down

0 comments on commit 43ca14d

Please sign in to comment.