Skip to content

Commit f626bad

Browse files
authored
Merge pull request #49025 from adriankarasinski/add-information-about-incompletness-openapiv2-schemas-definitions
Add warning about incompleteness of OpenAPI schemas to kubernetes-api.md
2 parents 90484c9 + 22e7b2f commit f626bad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/concepts/overview/kubernetes-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ request headers as follows:
192192
</tbody>
193193
</table>
194194

195+
{{< warning >}}
196+
The validation rules published as part of OpenAPI schemas may not be complete, and usually aren't.
197+
Additional validation occurs within the API server. If you want precise and complete verification,
198+
a `kubectl apply --dry-run=server` runs all the applicable validation (and also activates admission-time
199+
checks).
200+
{{< /warning >}}
195201

196202
### OpenAPI V3
197203

0 commit comments

Comments
 (0)