From ee02cb2bf8a3a1bfacc6335c4ba6763a11d1c775 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Wed, 18 Jun 2014 17:15:53 -0700 Subject: [PATCH] Update api sources. Still need to regen documentation. --- api/doc/service-schema.json | 4 ++++ api/examples/external-service.json | 3 +++ api/examples/service.json | 3 +++ 3 files changed, 10 insertions(+) diff --git a/api/doc/service-schema.json b/api/doc/service-schema.json index 0f85b40ac98..f5a8aba95f7 100644 --- a/api/doc/service-schema.json +++ b/api/doc/service-schema.json @@ -32,5 +32,9 @@ "type": "object", "required": false } + "selector": { + "type": "object", + "required": false + } } } diff --git a/api/examples/external-service.json b/api/examples/external-service.json index e3f1d437ced..e841b2e946b 100644 --- a/api/examples/external-service.json +++ b/api/examples/external-service.json @@ -4,5 +4,8 @@ "labels": { "name": "nginx" }, + "selector": { + "name": "nginx" + }, "createExternalLoadBalancer": true } diff --git a/api/examples/service.json b/api/examples/service.json index 68012f44599..f194aea41ed 100644 --- a/api/examples/service.json +++ b/api/examples/service.json @@ -4,4 +4,7 @@ "labels": { "name": "nginx" } + "selector": { + "name": "nginx" + } }