Handle sudo cleanly with tmp dir in generation

Also ensure meta/v1 swagger docs are generated.
This commit is contained in:
Clayton Coleman
2016-12-05 15:48:05 -05:00
parent 3c72ee2189
commit 81adce5a3a
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ source "${KUBE_ROOT}/hack/lib/swagger.sh"
kube::golang::setup_env
GROUP_VERSIONS=(${KUBE_AVAILABLE_GROUP_VERSIONS})
GROUP_VERSIONS=(meta/v1 ${KUBE_AVAILABLE_GROUP_VERSIONS})
# To avoid compile errors, remove the currently existing files.
for group_version in "${GROUP_VERSIONS[@]}"; do