Skip to content

Commit f8e5e65

Browse files
authored
Create CRDs for RDS at v2.1.1 (#693)
1 parent 4bbe05a commit f8e5e65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+44046
-0
lines changed

rds.aws.m.upbound.io/cluster_v1beta1.json

Lines changed: 2951 additions & 0 deletions
Large diffs are not rendered by default.

rds.aws.m.upbound.io/clusteractivitystream_v1beta1.json

Lines changed: 589 additions & 0 deletions
Large diffs are not rendered by default.

rds.aws.m.upbound.io/clusterendpoint_v1beta1.json

Lines changed: 841 additions & 0 deletions
Large diffs are not rendered by default.

rds.aws.m.upbound.io/clusterinstance_v1beta1.json

Lines changed: 1401 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 311 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,311 @@
1+
{
2+
"description": "ClusterParameterGroup is the Schema for the ClusterParameterGroups API. Provides an RDS DB cluster parameter group resource.",
3+
"properties": {
4+
"apiVersion": {
5+
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6+
"type": "string"
7+
},
8+
"kind": {
9+
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10+
"type": "string"
11+
},
12+
"metadata": {
13+
"type": "object"
14+
},
15+
"spec": {
16+
"description": "ClusterParameterGroupSpec defines the desired state of ClusterParameterGroup",
17+
"properties": {
18+
"forProvider": {
19+
"properties": {
20+
"description": {
21+
"description": "The description of the DB cluster parameter group.",
22+
"type": "string"
23+
},
24+
"family": {
25+
"description": "The family of the DB cluster parameter group.",
26+
"type": "string"
27+
},
28+
"parameter": {
29+
"description": "A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via aws rds describe-db-cluster-parameters after initial creation of the group.",
30+
"items": {
31+
"properties": {
32+
"applyMethod": {
33+
"description": "\"immediate\" (default), or \"pending-reboot\". Some\nengines can't apply some parameters without a reboot, and you will need to\nspecify \"pending-reboot\" here.",
34+
"type": "string"
35+
},
36+
"name": {
37+
"description": "The name of the DB cluster parameter group.",
38+
"type": "string"
39+
},
40+
"value": {
41+
"description": "The value of the DB parameter.",
42+
"type": "string"
43+
}
44+
},
45+
"type": "object",
46+
"additionalProperties": false
47+
},
48+
"type": "array"
49+
},
50+
"region": {
51+
"description": "Region where this resource will be managed. Defaults to the Region set in the provider configuration.\nRegion is the region you'd like your resource to be created in.",
52+
"type": "string"
53+
},
54+
"tags": {
55+
"additionalProperties": {
56+
"type": "string"
57+
},
58+
"description": "Key-value map of resource tags.",
59+
"type": "object",
60+
"x-kubernetes-map-type": "granular"
61+
}
62+
},
63+
"required": [
64+
"region"
65+
],
66+
"type": "object",
67+
"additionalProperties": false
68+
},
69+
"initProvider": {
70+
"description": "THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler.",
71+
"properties": {
72+
"description": {
73+
"description": "The description of the DB cluster parameter group.",
74+
"type": "string"
75+
},
76+
"family": {
77+
"description": "The family of the DB cluster parameter group.",
78+
"type": "string"
79+
},
80+
"parameter": {
81+
"description": "A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via aws rds describe-db-cluster-parameters after initial creation of the group.",
82+
"items": {
83+
"properties": {
84+
"applyMethod": {
85+
"description": "\"immediate\" (default), or \"pending-reboot\". Some\nengines can't apply some parameters without a reboot, and you will need to\nspecify \"pending-reboot\" here.",
86+
"type": "string"
87+
},
88+
"name": {
89+
"description": "The name of the DB cluster parameter group.",
90+
"type": "string"
91+
},
92+
"value": {
93+
"description": "The value of the DB parameter.",
94+
"type": "string"
95+
}
96+
},
97+
"type": "object",
98+
"additionalProperties": false
99+
},
100+
"type": "array"
101+
},
102+
"tags": {
103+
"additionalProperties": {
104+
"type": "string"
105+
},
106+
"description": "Key-value map of resource tags.",
107+
"type": "object",
108+
"x-kubernetes-map-type": "granular"
109+
}
110+
},
111+
"type": "object",
112+
"additionalProperties": false
113+
},
114+
"managementPolicies": {
115+
"default": [
116+
"*"
117+
],
118+
"description": "THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md",
119+
"items": {
120+
"description": "A ManagementAction represents an action that the Crossplane controllers\ncan take on an external resource.",
121+
"enum": [
122+
"Observe",
123+
"Create",
124+
"Update",
125+
"Delete",
126+
"LateInitialize",
127+
"*"
128+
],
129+
"type": "string"
130+
},
131+
"type": "array"
132+
},
133+
"providerConfigRef": {
134+
"default": {
135+
"kind": "ClusterProviderConfig",
136+
"name": "default"
137+
},
138+
"description": "ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured.",
139+
"properties": {
140+
"kind": {
141+
"description": "Kind of the referenced object.",
142+
"type": "string"
143+
},
144+
"name": {
145+
"description": "Name of the referenced object.",
146+
"type": "string"
147+
}
148+
},
149+
"required": [
150+
"kind",
151+
"name"
152+
],
153+
"type": "object",
154+
"additionalProperties": false
155+
},
156+
"writeConnectionSecretToRef": {
157+
"description": "WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource.",
158+
"properties": {
159+
"name": {
160+
"description": "Name of the secret.",
161+
"type": "string"
162+
}
163+
},
164+
"required": [
165+
"name"
166+
],
167+
"type": "object",
168+
"additionalProperties": false
169+
}
170+
},
171+
"required": [
172+
"forProvider"
173+
],
174+
"type": "object",
175+
"x-kubernetes-validations": [
176+
{
177+
"message": "spec.forProvider.family is a required parameter",
178+
"rule": "!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))"
179+
}
180+
],
181+
"additionalProperties": false
182+
},
183+
"status": {
184+
"description": "ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup.",
185+
"properties": {
186+
"atProvider": {
187+
"properties": {
188+
"arn": {
189+
"description": "The ARN of the db cluster parameter group.",
190+
"type": "string"
191+
},
192+
"description": {
193+
"description": "The description of the DB cluster parameter group.",
194+
"type": "string"
195+
},
196+
"family": {
197+
"description": "The family of the DB cluster parameter group.",
198+
"type": "string"
199+
},
200+
"id": {
201+
"description": "The db cluster parameter group name.",
202+
"type": "string"
203+
},
204+
"parameter": {
205+
"description": "A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via aws rds describe-db-cluster-parameters after initial creation of the group.",
206+
"items": {
207+
"properties": {
208+
"applyMethod": {
209+
"description": "\"immediate\" (default), or \"pending-reboot\". Some\nengines can't apply some parameters without a reboot, and you will need to\nspecify \"pending-reboot\" here.",
210+
"type": "string"
211+
},
212+
"name": {
213+
"description": "The name of the DB cluster parameter group.",
214+
"type": "string"
215+
},
216+
"value": {
217+
"description": "The value of the DB parameter.",
218+
"type": "string"
219+
}
220+
},
221+
"type": "object",
222+
"additionalProperties": false
223+
},
224+
"type": "array"
225+
},
226+
"region": {
227+
"description": "Region where this resource will be managed. Defaults to the Region set in the provider configuration.\nRegion is the region you'd like your resource to be created in.",
228+
"type": "string"
229+
},
230+
"tags": {
231+
"additionalProperties": {
232+
"type": "string"
233+
},
234+
"description": "Key-value map of resource tags.",
235+
"type": "object",
236+
"x-kubernetes-map-type": "granular"
237+
},
238+
"tagsAll": {
239+
"additionalProperties": {
240+
"type": "string"
241+
},
242+
"description": "A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.",
243+
"type": "object",
244+
"x-kubernetes-map-type": "granular"
245+
}
246+
},
247+
"type": "object",
248+
"additionalProperties": false
249+
},
250+
"conditions": {
251+
"description": "Conditions of the resource.",
252+
"items": {
253+
"description": "A Condition that may apply to a resource.",
254+
"properties": {
255+
"lastTransitionTime": {
256+
"description": "LastTransitionTime is the last time this condition transitioned from one\nstatus to another.",
257+
"format": "date-time",
258+
"type": "string"
259+
},
260+
"message": {
261+
"description": "A Message containing details about this condition's last transition from\none status to another, if any.",
262+
"type": "string"
263+
},
264+
"observedGeneration": {
265+
"description": "ObservedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
266+
"format": "int64",
267+
"type": "integer"
268+
},
269+
"reason": {
270+
"description": "A Reason for this condition's last transition from one status to another.",
271+
"type": "string"
272+
},
273+
"status": {
274+
"description": "Status of this condition; is it currently True, False, or Unknown?",
275+
"type": "string"
276+
},
277+
"type": {
278+
"description": "Type of this condition. At most one of each condition type may apply to\na resource at any point in time.",
279+
"type": "string"
280+
}
281+
},
282+
"required": [
283+
"lastTransitionTime",
284+
"reason",
285+
"status",
286+
"type"
287+
],
288+
"type": "object",
289+
"additionalProperties": false
290+
},
291+
"type": "array",
292+
"x-kubernetes-list-map-keys": [
293+
"type"
294+
],
295+
"x-kubernetes-list-type": "map"
296+
},
297+
"observedGeneration": {
298+
"description": "ObservedGeneration is the latest metadata.generation\nwhich resulted in either a ready state, or stalled due to error\nit can not recover from without human intervention.",
299+
"format": "int64",
300+
"type": "integer"
301+
}
302+
},
303+
"type": "object",
304+
"additionalProperties": false
305+
}
306+
},
307+
"required": [
308+
"spec"
309+
],
310+
"type": "object"
311+
}

0 commit comments

Comments
 (0)