-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinition.yaml
80 lines (80 loc) · 2.51 KB
/
definition.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xkubernetesclusters.k8s.starter.org
spec:
group: k8s.starter.org
names:
kind: XKubernetesCluster
plural: xkubernetesclusters
claimNames:
kind: KubernetesCluster
plural: kubernetesclusters
connectionSecretKeys:
- kubeconfig
versions:
- name: v1alpha1
served: true
referenceable: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
id:
type: string
description: ID of this Cluster that other objects will use to refer to it.
parameters:
type: object
description: Cluster configuration parameters.
properties:
nodes:
type: object
description: Cluster node configuration parameters.
properties:
count:
type: integer
description: Desired node count, from 1 to 100.
size:
type: string
description: Size of node.
enum:
- small
- medium
- large
required:
- count
- size
services:
type: object
description: Services configuration parameters.
properties:
operators:
type: object
description: Configuration for operators.
properties:
prometheus:
type: object
description: Configuration for the Prometheus operator.
properties:
version:
type: string
description: Prometheus operator version to run.
required:
- nodes
required:
- id
- parameters
status:
type: object
properties:
subnetIds:
type: array
items:
type: string
securityGroupIds:
type: array
items:
type: string