Skip to content

Commit 30307c4

Browse files
committed
docs: fix typo in declarative-validation.md
special not pecial
1 parent 93fcff4 commit 30307c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/en/docs/reference/using-api/declarative-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Kubernetes {{< skew currentVersion >}} includes optional _declarative validation
1515
code (`validation.go` files) to ensure that requests against the API are valid.
1616
Kubernetes developers, and people [extending the Kubernetes API](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/),
1717
can define validation rules directly alongside the API type definitions (`types.go` files). Code authors define
18-
pecial comment tags (e.g., `+k8s:minimum=0`). A code generator (`validation-gen`) then uses these tags to produce
18+
special comment tags (e.g., `+k8s:minimum=0`). A code generator (`validation-gen`) then uses these tags to produce
1919
optimized Go code for API validation.
2020

2121
While primarily a feature impacting Kubernetes contributors and potentially developers of [extension API servers](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/), cluster administrators should understand its behavior, especially during its rollout phases.

content/zh-cn/docs/reference/using-api/declarative-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Kubernetes {{< skew currentVersion >}} includes optional _declarative validation
2121
code (`validation.go` files) to ensure that requests against the API are valid.
2222
Kubernetes developers, and people [extending the Kubernetes API](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/),
2323
can define validation rules directly alongside the API type definitions (`types.go` files). Code authors define
24-
pecial comment tags (e.g., `+k8s:minimum=0`). A code generator (`validation-gen`) then uses these tags to produce
24+
special comment tags (e.g., `+k8s:minimum=0`). A code generator (`validation-gen`) then uses these tags to produce
2525
optimized Go code for API validation.
2626
-->
2727
Kubernetes {{< skew currentVersion >}} 包含可选用于 API的**声明式验证**特性。

0 commit comments

Comments
 (0)