good first issue
仓库指标
- Star
- (268 star)
- PR 合并指标
- (PR 指标待抓取)
描述
The schema validator used by Kubernetes server and kubectl-validate does not support recursively defined schemas. This can be fixed but it would be a fairly big modification.
CRDs cannot be recursive, so this is not a concern for them. There may be some native types that have a recursive schema. One example of this is CustomResourceDefinition itself. n this single case, we workaround this by using the handwritten validation code for CRDs since they are so common.
In general, we should detect and block validation of recursive schemas.