Skip to content

Commit 31ca846

Browse files
rccrdpcclclwheel
andauthored
ACM-24258: handle K8s charts (#356)
Signed-off-by: Riccardo Piccoli <[email protected]> Co-authored-by: Chris Wheeler <[email protected]>
1 parent 44130af commit 31ca846

File tree

107 files changed

+42809
-72
lines changed

Some content is hidden

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

107 files changed

+42809
-72
lines changed

charts/cluster-api-k8s/Chart.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
name: cluster-api
3+
description: Cluster API
4+
type: application
5+
version: "4.20"
6+
appVersion: "4.20"

charts/cluster-api-k8s/crds/apiextensions.k8s.io_v1_customresourcedefinition_clusterclasses.cluster.x-k8s.io.yaml

Lines changed: 2819 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/capi-serving-cert'
6+
controller-gen.kubebuilder.io/version: v0.17.2
7+
labels:
8+
cluster.x-k8s.io/provider: cluster-api
9+
name: clusterresourcesetbindings.addons.cluster.x-k8s.io
10+
spec:
11+
group: addons.cluster.x-k8s.io
12+
names:
13+
categories:
14+
- cluster-api
15+
kind: ClusterResourceSetBinding
16+
listKind: ClusterResourceSetBindingList
17+
plural: clusterresourcesetbindings
18+
singular: clusterresourcesetbinding
19+
scope: Namespaced
20+
versions:
21+
- deprecated: true
22+
name: v1alpha3
23+
schema:
24+
openAPIV3Schema:
25+
description: |-
26+
ClusterResourceSetBinding lists all matching ClusterResourceSets with the cluster it belongs to.
27+
28+
Deprecated: This type will be removed in one of the next releases.
29+
properties:
30+
apiVersion:
31+
description: |-
32+
APIVersion defines the versioned schema of this representation of an object.
33+
Servers should convert recognized schemas to the latest internal value, and
34+
may reject unrecognized values.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36+
type: string
37+
kind:
38+
description: |-
39+
Kind is a string value representing the REST resource this object represents.
40+
Servers may infer this from the endpoint the client submits requests to.
41+
Cannot be updated.
42+
In CamelCase.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44+
type: string
45+
metadata:
46+
type: object
47+
spec:
48+
description: spec is the desired state of ClusterResourceSetBinding.
49+
properties:
50+
bindings:
51+
description: bindings is a list of ClusterResourceSets and their resources.
52+
items:
53+
description: ResourceSetBinding keeps info on all of the resources
54+
in a ClusterResourceSet.
55+
properties:
56+
clusterResourceSetName:
57+
description: clusterResourceSetName is the name of the ClusterResourceSet
58+
that is applied to the owner cluster of the binding.
59+
type: string
60+
resources:
61+
description: resources is a list of resources that the ClusterResourceSet
62+
has.
63+
items:
64+
description: ResourceBinding shows the status of a resource
65+
that belongs to a ClusterResourceSet matched by the owner
66+
cluster of the ClusterResourceSetBinding object.
67+
properties:
68+
applied:
69+
description: applied is to track if a resource is applied
70+
to the cluster or not.
71+
type: boolean
72+
hash:
73+
description: |-
74+
hash is the hash of a resource's data. This can be used to decide if a resource is changed.
75+
For "ApplyOnce" ClusterResourceSet.spec.strategy, this is no-op as that strategy does not act on change.
76+
type: string
77+
kind:
78+
description: 'kind of the resource. Supported kinds are:
79+
Secrets and ConfigMaps.'
80+
enum:
81+
- Secret
82+
- ConfigMap
83+
type: string
84+
lastAppliedTime:
85+
description: lastAppliedTime identifies when this resource
86+
was last applied to the cluster.
87+
format: date-time
88+
type: string
89+
name:
90+
description: name of the resource that is in the same
91+
namespace with ClusterResourceSet object.
92+
minLength: 1
93+
type: string
94+
required:
95+
- applied
96+
- kind
97+
- name
98+
type: object
99+
type: array
100+
required:
101+
- clusterResourceSetName
102+
type: object
103+
type: array
104+
type: object
105+
type: object
106+
served: false
107+
storage: false
108+
subresources:
109+
status: {}
110+
- additionalPrinterColumns:
111+
- description: Time duration since creation of ClusterResourceSetBinding
112+
jsonPath: .metadata.creationTimestamp
113+
name: Age
114+
type: date
115+
deprecated: true
116+
name: v1alpha4
117+
schema:
118+
openAPIV3Schema:
119+
description: |-
120+
ClusterResourceSetBinding lists all matching ClusterResourceSets with the cluster it belongs to.
121+
122+
Deprecated: This type will be removed in one of the next releases.
123+
properties:
124+
apiVersion:
125+
description: |-
126+
APIVersion defines the versioned schema of this representation of an object.
127+
Servers should convert recognized schemas to the latest internal value, and
128+
may reject unrecognized values.
129+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
130+
type: string
131+
kind:
132+
description: |-
133+
Kind is a string value representing the REST resource this object represents.
134+
Servers may infer this from the endpoint the client submits requests to.
135+
Cannot be updated.
136+
In CamelCase.
137+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
138+
type: string
139+
metadata:
140+
type: object
141+
spec:
142+
description: spec is the desired state of ClusterResourceSetBinding.
143+
properties:
144+
bindings:
145+
description: bindings is a list of ClusterResourceSets and their resources.
146+
items:
147+
description: ResourceSetBinding keeps info on all of the resources
148+
in a ClusterResourceSet.
149+
properties:
150+
clusterResourceSetName:
151+
description: clusterResourceSetName is the name of the ClusterResourceSet
152+
that is applied to the owner cluster of the binding.
153+
type: string
154+
resources:
155+
description: resources is a list of resources that the ClusterResourceSet
156+
has.
157+
items:
158+
description: ResourceBinding shows the status of a resource
159+
that belongs to a ClusterResourceSet matched by the owner
160+
cluster of the ClusterResourceSetBinding object.
161+
properties:
162+
applied:
163+
description: applied is to track if a resource is applied
164+
to the cluster or not.
165+
type: boolean
166+
hash:
167+
description: |-
168+
hash is the hash of a resource's data. This can be used to decide if a resource is changed.
169+
For "ApplyOnce" ClusterResourceSet.spec.strategy, this is no-op as that strategy does not act on change.
170+
type: string
171+
kind:
172+
description: 'kind of the resource. Supported kinds are:
173+
Secrets and ConfigMaps.'
174+
enum:
175+
- Secret
176+
- ConfigMap
177+
type: string
178+
lastAppliedTime:
179+
description: lastAppliedTime identifies when this resource
180+
was last applied to the cluster.
181+
format: date-time
182+
type: string
183+
name:
184+
description: name of the resource that is in the same
185+
namespace with ClusterResourceSet object.
186+
minLength: 1
187+
type: string
188+
required:
189+
- applied
190+
- kind
191+
- name
192+
type: object
193+
type: array
194+
required:
195+
- clusterResourceSetName
196+
type: object
197+
type: array
198+
type: object
199+
type: object
200+
served: false
201+
storage: false
202+
subresources:
203+
status: {}
204+
- additionalPrinterColumns:
205+
- description: Time duration since creation of ClusterResourceSetBinding
206+
jsonPath: .metadata.creationTimestamp
207+
name: Age
208+
type: date
209+
name: v1beta1
210+
schema:
211+
openAPIV3Schema:
212+
description: ClusterResourceSetBinding lists all matching ClusterResourceSets
213+
with the cluster it belongs to.
214+
properties:
215+
apiVersion:
216+
description: |-
217+
APIVersion defines the versioned schema of this representation of an object.
218+
Servers should convert recognized schemas to the latest internal value, and
219+
may reject unrecognized values.
220+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
221+
type: string
222+
kind:
223+
description: |-
224+
Kind is a string value representing the REST resource this object represents.
225+
Servers may infer this from the endpoint the client submits requests to.
226+
Cannot be updated.
227+
In CamelCase.
228+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
229+
type: string
230+
metadata:
231+
type: object
232+
spec:
233+
description: spec is the desired state of ClusterResourceSetBinding.
234+
properties:
235+
bindings:
236+
description: bindings is a list of ClusterResourceSets and their resources.
237+
items:
238+
description: ResourceSetBinding keeps info on all of the resources
239+
in a ClusterResourceSet.
240+
properties:
241+
clusterResourceSetName:
242+
description: clusterResourceSetName is the name of the ClusterResourceSet
243+
that is applied to the owner cluster of the binding.
244+
maxLength: 253
245+
minLength: 1
246+
type: string
247+
resources:
248+
description: resources is a list of resources that the ClusterResourceSet
249+
has.
250+
items:
251+
description: ResourceBinding shows the status of a resource
252+
that belongs to a ClusterResourceSet matched by the owner
253+
cluster of the ClusterResourceSetBinding object.
254+
properties:
255+
applied:
256+
description: applied is to track if a resource is applied
257+
to the cluster or not.
258+
type: boolean
259+
hash:
260+
description: |-
261+
hash is the hash of a resource's data. This can be used to decide if a resource is changed.
262+
For "ApplyOnce" ClusterResourceSet.spec.strategy, this is no-op as that strategy does not act on change.
263+
maxLength: 256
264+
minLength: 1
265+
type: string
266+
kind:
267+
description: 'kind of the resource. Supported kinds are:
268+
Secrets and ConfigMaps.'
269+
enum:
270+
- Secret
271+
- ConfigMap
272+
type: string
273+
lastAppliedTime:
274+
description: lastAppliedTime identifies when this resource
275+
was last applied to the cluster.
276+
format: date-time
277+
type: string
278+
name:
279+
description: name of the resource that is in the same
280+
namespace with ClusterResourceSet object.
281+
maxLength: 253
282+
minLength: 1
283+
type: string
284+
required:
285+
- applied
286+
- kind
287+
- name
288+
type: object
289+
maxItems: 100
290+
type: array
291+
required:
292+
- clusterResourceSetName
293+
type: object
294+
maxItems: 100
295+
type: array
296+
clusterName:
297+
description: |-
298+
clusterName is the name of the Cluster this binding applies to.
299+
Note: this field mandatory in v1beta2.
300+
maxLength: 63
301+
minLength: 1
302+
type: string
303+
type: object
304+
type: object
305+
served: true
306+
storage: true
307+
subresources:
308+
status: {}

0 commit comments

Comments
 (0)