Merge pull request #36684 from mbohlool/api_all

Automatic merge from submit-queue

Update OpenAPI spec generator to enable all APIs

scheduledjob/cronjob is missing in the OpenAPI spec located in api/openapi-spec/swagger.json. Root cause is the API was not enabled when we generate this file in hack/update-openapi-spec.sh.

This change is only effect static swagger.json file in our source tree but the documentation @pwittrock working on and client-python I am working on depends on it. We can sure hack our way through having this in our components, but it look cleaner to have it in 1.5 specially because there is no runtime behavior change of any kind.

Fixes #36682
This commit is contained in:
Kubernetes Submit Queue 2016-11-13 18:44:10 -08:00 committed by GitHub
commit c15758edf8
2 changed files with 2830 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -63,6 +63,7 @@ kube::log::status "Starting kube-apiserver"
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
--advertise-address="10.10.10.10" \
--cert-dir="${TMP_DIR}/certs" \
--runtime-config="api/all=true" \
--token-auth-file=$TMP_DIR/tokenauth.csv \
--service-cluster-ip-range="10.0.0.0/24" >/tmp/openapi-api-server.log 2>&1 &
APISERVER_PID=$!