diff --git a/api/doc/service-schema.json b/api/doc/service-schema.json index 0f85b40ac981c..f5a8aba95f76d 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 e3f1d437ced76..e841b2e946b38 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 68012f445995a..f194aea41edd5 100644 --- a/api/examples/service.json +++ b/api/examples/service.json @@ -4,4 +4,7 @@ "labels": { "name": "nginx" } + "selector": { + "name": "nginx" + } }