k8S: (Chore) Add arg to hack codegen to filter openapi generation (#81720)

pull/80824/head^2
Kyle Brandt 1 year ago committed by GitHub
parent 312fdf9ce0
commit 959c80daf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      hack/update-codegen.sh

@ -29,6 +29,9 @@ if [[ "${UPDATE_API_KNOWN_VIOLATIONS:-}" == "true" ]]; then
fi
for api_pkg in $(ls ./pkg/apis); do
if [[ "${1-}" != "" && ${api_pkg} != $1 ]]; then
continue
fi
for pkg_version in $(ls ./pkg/apis/${api_pkg}); do
echo "Generating openapi package for ${api_pkg}, version=${pkg_version} ..."
grafana::codegen::gen_openapi \

Loading…
Cancel
Save