kubernetes-sigs/kubectl-validate

Infer namespace/cluster scope when using schema extension

eddycharly opened this issue · 2 comments

Infer namespace/cluster scope currently uses Paths but we don't have them when loading CRDs.
Adding a schema extension (x-kubectl-validate-namespaced) should do the trick.

/assign

Ended up using x-kubectl-validate-scope.