Merge pull request #10317 from caesarxuchao/coreos

update getting-started-guides/coreos to v1
pull/6/head
Alex Robinson 2015-06-29 14:31:59 -07:00
commit 81d6695c49
1 changed files with 5 additions and 4 deletions

View File

@ -26,9 +26,10 @@ write_files:
test -n "${healthcheck}"
test "${healthcheck}" = "ok"
printf '{
"id": "%s",
"kind": "Minion",
"apiVersion": "v1beta1",
"apiVersion": "v1",
"kind": "Node",
"metadata": {
"name": "%s",
"labels": { "environment": "%s" }
}' "${minion_id}" "${env_label}" \
| /opt/bin/kubectl create -s "${master_url}" -f -