Merge pull request #49025 from adriankarasinski/add-information-about-incompletness-openapiv2-schemas-definitions

Add warning about incompleteness of OpenAPI schemas to kubernetes-api.md
pull/49302/head
Kubernetes Prow Robot 2025-01-06 19:00:31 +01:00 committed by GitHub
commit f626bad428
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -192,6 +192,12 @@ request headers as follows:
</tbody>
</table>
{{< warning >}}
The validation rules published as part of OpenAPI schemas may not be complete, and usually aren't.
Additional validation occurs within the API server. If you want precise and complete verification,
a `kubectl apply --dry-run=server` runs all the applicable validation (and also activates admission-time
checks).
{{< /warning >}}
### OpenAPI V3