This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
0-crd.yaml
272 lines (272 loc) · 9.99 KB
/
0-crd.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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# generated using make print-bundle-crd
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: bundles.smith.atlassian.com
spec:
group: smith.atlassian.com
names:
kind: Bundle
plural: bundles
singular: bundle
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
spec:
properties:
resources:
items:
description: Resource describes an object that should be provisioned
properties:
name:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
references:
items:
description: A reference to a path in another resource
properties:
example:
description: Example of how we expect reference to resolve.
Used for validation
modifier:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
name:
maxLength: 253
minLength: 1
pattern: ^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?(\.[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?)*$
type: string
path:
description: JSONPath expression used to extract data from
resource
type: string
resource:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- resource
type: object
type: array
spec:
oneOf:
- properties:
object:
description: Schema for a resource that describes an object
properties:
apiVersion:
minLength: 1
type: string
kind:
minLength: 1
type: string
metadata:
description: Schema for some fields of ObjectMeta
properties:
annotations:
additionalProperties:
type: string
type: object
finalizers:
items:
minLength: 1
type: string
type: array
initializers:
properties:
pending:
items:
properties:
name:
type: string
required:
- name
type: object
type: array
required:
- pending
type: object
labels:
additionalProperties:
maxLength: 63
pattern: ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$
type: string
type: object
name:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
ownerReferences:
items:
properties:
apiVersion:
minLength: 1
type: string
blockOwnerDeletion:
type: boolean
controller:
type: boolean
kind:
minLength: 1
type: string
name:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- apiVersion
- kind
- name
type: object
type: array
type: object
required:
- apiVersion
- kind
- metadata
type: object
required:
- object
- properties:
plugin:
description: Schema for a resource that describes a plugin
properties:
name:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
objectName:
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
spec:
type: object
required:
- name
- objectName
type: object
required:
- plugin
type: object
required:
- name
- spec
type: object
type: array
required:
- resources
type: object
status:
properties:
conditions:
items:
properties:
message:
type: string
reason:
type: string
status:
minLength: 1
type: string
type:
minLength: 1
type: string
required:
- type
- status
type: object
type: array
objectsToDelete:
items:
properties:
group:
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
version:
minLength: 1
type: string
required:
- group
- version
- kind
- name
type: object
type: array
observedGeneration:
format: int64
type: integer
pluginStatuses:
items:
properties:
group:
type: string
kind:
minLength: 1
type: string
name:
minLength: 1
type: string
status:
type: string
version:
minLength: 1
type: string
required:
- name
- group
- version
- kind
type: object
type: array
resourceStatuses:
items:
properties:
conditions:
items:
properties:
message:
type: string
reason:
type: string
status:
minLength: 1
type: string
type:
minLength: 1
type: string
required:
- type
- status
type: object
type: array
name:
minLength: 1
type: string
required:
- name
type: object
type: array
type: object
required:
- spec
versions:
- name: v1
served: true
storage: true