Make verify-openapi-spec use verify::generated

Tested by injecting an API change, generating openapi, then watching
this fail.
This commit is contained in:
Tim Hockin
2024-03-05 17:13:40 -08:00
parent 546f7c3086
commit 813787489b
2 changed files with 3 additions and 47 deletions

View File

@@ -631,6 +631,7 @@ kube::golang::place_bins() {
if [[ "${platform}" == "${host_platform}" ]]; then
platform_src=""
rm -f "${THIS_PLATFORM_BIN}"
mkdir -p "$(dirname "${THIS_PLATFORM_BIN}")"
ln -s "${KUBE_OUTPUT_BIN}/${platform}" "${THIS_PLATFORM_BIN}"
fi