update ceph-common to 10.2.11-0ubuntu0.16.04.2
[yaml_builds.git] / site_type / sriov / airship-treasuremap / global / v4.0 / schemas / promenade / KubernetesNode / v1.yaml
1 ---
2 schema: deckhand/DataSchema/v1
3 metadata:
4   schema: metadata/Control/v1
5   name: promenade/KubernetesNode/v1
6   labels:
7     application: promenade
8 data:
9   $schema: http://json-schema.org/schema#
10   definitions:
11     hostname:
12       type: string
13       pattern: '^[a-z][a-z0-9-]+$'
14     ip_address:
15       type: string
16       pattern: '^(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))$'
17     kubernetes_label:
18       type: string
19       # XXX add regex
20
21   type: object
22   properties:
23     hostname:
24       $ref: '#/definitions/hostname'
25
26     ip:
27       $ref: '#/definitions/ip_address'
28
29     join_ip:
30       $ref: '#/definitions/ip_address'
31
32     labels:
33       properties:
34         static:
35           type: array
36           items:
37             $ref: '#/definitions/kubernetes_label'
38         dynamic:
39           type: array
40           items:
41             $ref: '#/definitions/kubernetes_label'
42       additionalProperties: false
43
44   required:
45     - ip
46     - join_ip
47   additionalProperties: false