Use a valid address for swagger

pull/6/head
Tim Hockin 2015-08-08 13:41:56 -07:00
parent 86f4535871
commit 16a33318b7
4 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"swaggerVersion": "1.2",
"apiVersion": "",
"basePath": "https://127.0.0.1:6443",
"basePath": "https://10.10.10.10:6443",
"resourcePath": "/api",
"apis": [
{

View File

@ -1,7 +1,7 @@
{
"swaggerVersion": "1.2",
"apiVersion": "v1",
"basePath": "https://127.0.0.1:6443",
"basePath": "https://10.10.10.10:6443",
"resourcePath": "/api/v1",
"apis": [
{

View File

@ -1,7 +1,7 @@
{
"swaggerVersion": "1.2",
"apiVersion": "",
"basePath": "https://127.0.0.1:6443",
"basePath": "https://10.10.10.10:6443",
"resourcePath": "/version",
"apis": [
{

View File

@ -56,6 +56,7 @@ KUBE_API_VERSIONS="v1" "${KUBE_OUTPUT_HOSTBIN}/kube-apiserver" \
--port="${API_PORT}" \
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
--public-address-override="127.0.0.1" \
--advertise-address="10.10.10.10" \
--kubelet-port=${KUBELET_PORT} \
--runtime-config=api/v1 \
--service-cluster-ip-range="10.0.0.0/24" >/dev/null 2>&1 &