mirror of https://github.com/k3s-io/k3s
add v1 swagger-spec; update existing swagger-spec
parent
1f526a5f89
commit
66e4f7b053
|
@ -5,6 +5,10 @@
|
|||
"path": "/api/v1beta3",
|
||||
"description": "API at /api/v1beta3 version v1beta3"
|
||||
},
|
||||
{
|
||||
"path": "/api/v1",
|
||||
"description": "API at /api/v1 version v1"
|
||||
},
|
||||
{
|
||||
"path": "/api",
|
||||
"description": "get available API versions"
|
||||
|
@ -19,4 +23,4 @@
|
|||
"title": "",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -11685,10 +11685,6 @@
|
|||
"type": "any",
|
||||
"description": "label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template"
|
||||
},
|
||||
"templateRef": {
|
||||
"$ref": "v1beta3.ObjectReference",
|
||||
"description": "reference to an object that describes the pod that will be created if insufficient replicas are detected"
|
||||
},
|
||||
"template": {
|
||||
"$ref": "v1beta3.PodTemplateSpec",
|
||||
"description": "object that describes the pod that will be created if insufficient replicas are detected; takes precendence over templateRef"
|
||||
|
|
|
@ -53,6 +53,7 @@ kube::log::status "Starting kube-apiserver"
|
|||
--etcd_servers="http://${ETCD_HOST}:${ETCD_PORT}" \
|
||||
--public_address_override="127.0.0.1" \
|
||||
--kubelet_port=${KUBELET_PORT} \
|
||||
--runtime_config=api/v1 \
|
||||
--runtime_config=api/legacy=false \
|
||||
--service-cluster-ip-range="10.0.0.0/24" 1>&2 &
|
||||
APISERVER_PID=$!
|
||||
|
@ -65,5 +66,6 @@ curl ${SWAGGER_API_PATH} > ${SWAGGER_ROOT_DIR}/resourceListing.json
|
|||
curl ${SWAGGER_API_PATH}version > ${SWAGGER_ROOT_DIR}/version.json
|
||||
curl ${SWAGGER_API_PATH}api > ${SWAGGER_ROOT_DIR}/api.json
|
||||
curl ${SWAGGER_API_PATH}api/v1beta3 > ${SWAGGER_ROOT_DIR}/v1beta3.json
|
||||
curl ${SWAGGER_API_PATH}api/v1 > ${SWAGGER_ROOT_DIR}/v1.json
|
||||
|
||||
kube::log::status "SUCCESS"
|
||||
|
|
Loading…
Reference in New Issue