Repository navigation
Expand file tree
/
Copy pathdefinition.yaml
More file actions
192 lines (192 loc) · 7.74 KB
/
Copy pathdefinition.yaml
File metadata and controls
192 lines (192 loc) · 7.74 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
apiVersion: apiextensions.crossplane.io/v2
kind: CompositeResourceDefinition
metadata:
name: clusters.aws.platformref.upbound.io
spec:
group: aws.platformref.upbound.io
names:
categories:
- crossplane
kind: Cluster
plural: clusters
scope: Namespaced
versions:
- name: v1alpha1
referenceable: true
served: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
parameters:
type: object
description: Cluster configuration parameters.
properties:
clusterName:
type: string
description: The name of the cluster on the cloud platform.
id:
type: string
description: ID of this Cluster that other objects will use to refer to it.
region:
type: string
description: Region is the region you'd like your resource to be created in.
iam:
type: object
description: IAM configuration to connect as ClusterAdmin.
properties:
principalArn:
description: The IAM Principal ARN to connect as ClusterAdmin.
type: string
managementPolicies:
description: ManagementPolicies for AWS EC2 resources. Defaults to ["*"] which includes all operations (Create, Observe, Update, Delete, LateInitialize). To orphan resources on deletion, use ["Create", "Observe", "Update", "LateInitialize"].
type: array
items:
type: string
enum:
- "*"
- Create
- Observe
- Update
- Delete
- LateInitialize
default: ["*"]
providerConfigName:
description: Crossplane ProviderConfig to use for provisioning this resources
type: string
default: default
version:
type: string
description: Kubernetes version of the Cluster
enum:
- "1.33"
- "1.32"
- "1.31"
default: "1.32"
nodes:
type: object
description: Cluster node configuration parameters.
properties:
count:
type: integer
description: Desired node count, from 1 to 100.
instanceType:
type: string
description: instance types associated with the Node Group.
default: t3.small
required:
- count
- instanceType
operators:
description: Configuration for operators.
type: object
default:
flux:
version: "2.10.6"
fluxSync:
version: "1.7.2"
prometheus:
version: "52.1.0"
properties:
flux:
description: Configuration for the Flux GitOps operator.
type: object
properties:
version:
description: flux helm-chart version to run.
type: string
default: "2.10.6"
required:
- version
fluxSync:
description: Configuration for the Flux Sync Helm-Chart.
type: object
properties:
version:
description: flux sync helm-chart version to run.
type: string
default: "1.7.2"
required:
- version
prometheus:
description: Configuration for the Prometheus Helm-Chart.
type: object
properties:
version:
description: prometheus helm-chart version to run.
type: string
default: "52.1.0"
required:
- version
gitops:
description: GitOps configure gitops system
type: object
properties:
git:
type: object
properties:
interval:
default: "5m0s"
description: Interval at which the GitRepository URL is checked for
updates. This interval is approximate and may be subject to jitter
to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
timeout:
default: "60s"
description: Timeout for Git operations like cloning, defaults to
60s.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
type: string
url:
description: URL specifies the Git repository URL, it can be an HTTP/S
or SSH address.
pattern: ^(http|https|ssh)://.*$
type: string
path:
type: string
default: "/"
ref:
description: Reference specifies the Git reference to resolve and
monitor for changes.
type: object
properties:
name:
description: "Name of the reference to check out; takes precedence
over Branch, Tag and SemVer. \n It must be a valid Git reference:
https://git-scm.com/docs/git-check-ref-format#_description Examples:
\"refs/heads/main\", \"refs/tags/v0.1.0\", \"refs/pull/420/head\",
\"refs/merge-requests/1/head\""
type: string
required:
- interval
- timeout
- url
- path
- ref
required:
- git
required:
- managementPolicies
- gitops
- id
- nodes
- operators
- providerConfigName
- region
required:
- parameters
status:
type: object
properties:
clusterName:
type: string
subnetIds:
type: array
items:
type: string
oidcProvider:
type: string