include apiextensions types in apiextensions generated openapi

k8s_tag_files_matching looks for a slash after its argument, so the current value doesnt match anything

also update codegen

this is required for apiextensions-apiserver tests. After fixing apiextensions server tests to use type-aware SSA (instead of erroneously using untyped SSA) there were errors since none of the apiextensions types were actually used in the openapi given to tests.
This commit is contained in:
Alexander Zielenski
2023-03-03 19:33:33 -08:00
parent 08e756342c
commit 4721ec7519
3 changed files with 2913 additions and 81 deletions

View File

@@ -603,7 +603,7 @@ function codegen::openapi() {
local APIEXTENSIONS_tag_files=()
kube::util::read-array APIEXTENSIONS_tag_files < <(
k8s_tag_files_matching \
vendor/k8s.io/apiextensions \
vendor/k8s.io/apiextensions-apiserver \
vendor/k8s.io/api/autoscaling/v1 \
"${apimachinery_dirs[@]}"
)