Set KUBE_API_VERSIONS appropriately

This commit is contained in:
nikhiljindal
2015-07-09 18:39:33 -07:00
parent d864d271af
commit 1350cc8bc3
2 changed files with 22 additions and 10 deletions

View File

@@ -49,6 +49,8 @@ EOF
}
VERSIONS="v1beta3 v1"
for ver in $VERSIONS; do
generate_version "${ver}"
for ver in $VERSIONS; do
# Ensure that the version being processed is registered by setting
# KUBE_API_VERSIONS.
KUBE_API_VERSIONS="${ver}" generate_version "${ver}"
done