Collectd operator utilties
[demo.git] / vnfs / DAaaS / deploy / messaging / charts / strimzi-kafka-operator / templates / 042-Crd-kafkaconnects2i.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: kafkaconnects2is.kafka.strimzi.io
5   labels:
6     app: '{{ template "strimzi.name" . }}'
7     chart: '{{ template "strimzi.chart" . }}'
8     component: kafkaconnects2is.kafka.strimzi.io-crd
9     release: '{{ .Release.Name }}'
10     heritage: '{{ .Release.Service }}'
11   annotations:
12     "helm.sh/hook": crd-install
13     "helm.sh/hook-delete-policy": "before-hook-creation"
14 spec:
15   group: kafka.strimzi.io
16   version: v1alpha1
17   scope: Namespaced
18   names:
19     kind: KafkaConnectS2I
20     listKind: KafkaConnectS2IList
21     singular: kafkaconnects2i
22     plural: kafkaconnects2is
23     shortNames:
24     - kcs2i
25   validation:
26     openAPIV3Schema:
27       properties:
28         spec:
29           type: object
30           properties:
31             replicas:
32               type: integer
33             image:
34               type: string
35             livenessProbe:
36               type: object
37               properties:
38                 initialDelaySeconds:
39                   type: integer
40                   minimum: 0
41                 timeoutSeconds:
42                   type: integer
43                   minimum: 0
44             readinessProbe:
45               type: object
46               properties:
47                 initialDelaySeconds:
48                   type: integer
49                   minimum: 0
50                 timeoutSeconds:
51                   type: integer
52                   minimum: 0
53             jvmOptions:
54               type: object
55               properties:
56                 -XX:
57                   type: object
58                 -Xms:
59                   type: string
60                   pattern: '[0-9]+[mMgG]?'
61                 -Xmx:
62                   type: string
63                   pattern: '[0-9]+[mMgG]?'
64                 gcLoggingEnabled:
65                   type: boolean
66             affinity:
67               type: object
68               properties:
69                 nodeAffinity:
70                   type: object
71                   properties:
72                     preferredDuringSchedulingIgnoredDuringExecution:
73                       type: array
74                       items:
75                         type: object
76                         properties:
77                           preference:
78                             type: object
79                             properties:
80                               matchExpressions:
81                                 type: array
82                                 items:
83                                   type: object
84                                   properties:
85                                     key:
86                                       type: string
87                                     operator:
88                                       type: string
89                                     values:
90                                       type: array
91                                       items:
92                                         type: string
93                               matchFields:
94                                 type: array
95                                 items:
96                                   type: object
97                                   properties:
98                                     key:
99                                       type: string
100                                     operator:
101                                       type: string
102                                     values:
103                                       type: array
104                                       items:
105                                         type: string
106                           weight:
107                             type: integer
108                     requiredDuringSchedulingIgnoredDuringExecution:
109                       type: object
110                       properties:
111                         nodeSelectorTerms:
112                           type: array
113                           items:
114                             type: object
115                             properties:
116                               matchExpressions:
117                                 type: array
118                                 items:
119                                   type: object
120                                   properties:
121                                     key:
122                                       type: string
123                                     operator:
124                                       type: string
125                                     values:
126                                       type: array
127                                       items:
128                                         type: string
129                               matchFields:
130                                 type: array
131                                 items:
132                                   type: object
133                                   properties:
134                                     key:
135                                       type: string
136                                     operator:
137                                       type: string
138                                     values:
139                                       type: array
140                                       items:
141                                         type: string
142                 podAffinity:
143                   type: object
144                   properties:
145                     preferredDuringSchedulingIgnoredDuringExecution:
146                       type: array
147                       items:
148                         type: object
149                         properties:
150                           podAffinityTerm:
151                             type: object
152                             properties:
153                               labelSelector:
154                                 type: object
155                                 properties:
156                                   matchExpressions:
157                                     type: array
158                                     items:
159                                       type: object
160                                       properties:
161                                         key:
162                                           type: string
163                                         operator:
164                                           type: string
165                                         values:
166                                           type: array
167                                           items:
168                                             type: string
169                                   matchLabels:
170                                     type: object
171                               namespaces:
172                                 type: array
173                                 items:
174                                   type: string
175                               topologyKey:
176                                 type: string
177                           weight:
178                             type: integer
179                     requiredDuringSchedulingIgnoredDuringExecution:
180                       type: array
181                       items:
182                         type: object
183                         properties:
184                           labelSelector:
185                             type: object
186                             properties:
187                               matchExpressions:
188                                 type: array
189                                 items:
190                                   type: object
191                                   properties:
192                                     key:
193                                       type: string
194                                     operator:
195                                       type: string
196                                     values:
197                                       type: array
198                                       items:
199                                         type: string
200                               matchLabels:
201                                 type: object
202                           namespaces:
203                             type: array
204                             items:
205                               type: string
206                           topologyKey:
207                             type: string
208                 podAntiAffinity:
209                   type: object
210                   properties:
211                     preferredDuringSchedulingIgnoredDuringExecution:
212                       type: array
213                       items:
214                         type: object
215                         properties:
216                           podAffinityTerm:
217                             type: object
218                             properties:
219                               labelSelector:
220                                 type: object
221                                 properties:
222                                   matchExpressions:
223                                     type: array
224                                     items:
225                                       type: object
226                                       properties:
227                                         key:
228                                           type: string
229                                         operator:
230                                           type: string
231                                         values:
232                                           type: array
233                                           items:
234                                             type: string
235                                   matchLabels:
236                                     type: object
237                               namespaces:
238                                 type: array
239                                 items:
240                                   type: string
241                               topologyKey:
242                                 type: string
243                           weight:
244                             type: integer
245                     requiredDuringSchedulingIgnoredDuringExecution:
246                       type: array
247                       items:
248                         type: object
249                         properties:
250                           labelSelector:
251                             type: object
252                             properties:
253                               matchExpressions:
254                                 type: array
255                                 items:
256                                   type: object
257                                   properties:
258                                     key:
259                                       type: string
260                                     operator:
261                                       type: string
262                                     values:
263                                       type: array
264                                       items:
265                                         type: string
266                               matchLabels:
267                                 type: object
268                           namespaces:
269                             type: array
270                             items:
271                               type: string
272                           topologyKey:
273                             type: string
274             logging:
275               type: object
276               properties:
277                 loggers:
278                   type: object
279                 name:
280                   type: string
281                 type:
282                   type: string
283                   enum:
284                   - inline
285                   - external
286               required:
287               - type
288             metrics:
289               type: object
290             template:
291               type: object
292               properties:
293                 deployment:
294                   type: object
295                   properties:
296                     metadata:
297                       type: object
298                       properties:
299                         labels:
300                           type: object
301                         annotations:
302                           type: object
303                 pod:
304                   type: object
305                   properties:
306                     metadata:
307                       type: object
308                       properties:
309                         labels:
310                           type: object
311                         annotations:
312                           type: object
313                     imagePullSecrets:
314                       type: array
315                       items:
316                         type: object
317                         properties:
318                           name:
319                             type: string
320                     securityContext:
321                       type: object
322                       properties:
323                         fsGroup:
324                           type: integer
325                         runAsGroup:
326                           type: integer
327                         runAsNonRoot:
328                           type: boolean
329                         runAsUser:
330                           type: integer
331                         seLinuxOptions:
332                           type: object
333                           properties:
334                             level:
335                               type: string
336                             role:
337                               type: string
338                             type:
339                               type: string
340                             user:
341                               type: string
342                         supplementalGroups:
343                           type: array
344                           items:
345                             type: integer
346                         sysctls:
347                           type: array
348                           items:
349                             type: object
350                             properties:
351                               name:
352                                 type: string
353                               value:
354                                 type: string
355                     terminationGracePeriodSeconds:
356                       type: integer
357                       minimum: 0
358                 apiService:
359                   type: object
360                   properties:
361                     metadata:
362                       type: object
363                       properties:
364                         labels:
365                           type: object
366                         annotations:
367                           type: object
368                 podDisruptionBudget:
369                   type: object
370                   properties:
371                     metadata:
372                       type: object
373                       properties:
374                         labels:
375                           type: object
376                         annotations:
377                           type: object
378                     maxUnavailable:
379                       type: integer
380                       minimum: 0
381             authentication:
382               type: object
383               properties:
384                 certificateAndKey:
385                   type: object
386                   properties:
387                     certificate:
388                       type: string
389                     key:
390                       type: string
391                     secretName:
392                       type: string
393                   required:
394                   - certificate
395                   - key
396                   - secretName
397                 passwordSecret:
398                   type: object
399                   properties:
400                     password:
401                       type: string
402                     secretName:
403                       type: string
404                   required:
405                   - password
406                   - secretName
407                 type:
408                   type: string
409                   enum:
410                   - tls
411                   - scram-sha-512
412                 username:
413                   type: string
414               required:
415               - type
416             bootstrapServers:
417               type: string
418             config:
419               type: object
420             externalConfiguration:
421               type: object
422               properties:
423                 env:
424                   type: array
425                   items:
426                     type: object
427                     properties:
428                       name:
429                         type: string
430                       valueFrom:
431                         type: object
432                         properties:
433                           configMapKeyRef:
434                             type: object
435                             properties:
436                               key:
437                                 type: string
438                               name:
439                                 type: string
440                               optional:
441                                 type: boolean
442                           secretKeyRef:
443                             type: object
444                             properties:
445                               key:
446                                 type: string
447                               name:
448                                 type: string
449                               optional:
450                                 type: boolean
451                     required:
452                     - name
453                     - valueFrom
454                 volumes:
455                   type: array
456                   items:
457                     type: object
458                     properties:
459                       configMap:
460                         type: object
461                         properties:
462                           defaultMode:
463                             type: integer
464                           items:
465                             type: array
466                             items:
467                               type: object
468                               properties:
469                                 key:
470                                   type: string
471                                 mode:
472                                   type: integer
473                                 path:
474                                   type: string
475                           name:
476                             type: string
477                           optional:
478                             type: boolean
479                       name:
480                         type: string
481                       secret:
482                         type: object
483                         properties:
484                           defaultMode:
485                             type: integer
486                           items:
487                             type: array
488                             items:
489                               type: object
490                               properties:
491                                 key:
492                                   type: string
493                                 mode:
494                                   type: integer
495                                 path:
496                                   type: string
497                           optional:
498                             type: boolean
499                           secretName:
500                             type: string
501                     required:
502                     - name
503             insecureSourceRepository:
504               type: boolean
505             resources:
506               type: object
507               properties:
508                 limits:
509                   type: object
510                   properties:
511                     cpu:
512                       type: string
513                       pattern: '[0-9]+m?$'
514                     memory:
515                       type: string
516                       pattern: '[0-9]+([kKmMgGtTpPeE]i?)?$'
517                 requests:
518                   type: object
519                   properties:
520                     cpu:
521                       type: string
522                       pattern: '[0-9]+m?$'
523                     memory:
524                       type: string
525                       pattern: '[0-9]+([kKmMgGtTpPeE]i?)?$'
526             tls:
527               type: object
528               properties:
529                 trustedCertificates:
530                   type: array
531                   items:
532                     type: object
533                     properties:
534                       certificate:
535                         type: string
536                       secretName:
537                         type: string
538                     required:
539                     - certificate
540                     - secretName
541               required:
542               - trustedCertificates
543             tolerations:
544               type: array
545               items:
546                 type: object
547                 properties:
548                   effect:
549                     type: string
550                   key:
551                     type: string
552                   operator:
553                     type: string
554                   tolerationSeconds:
555                     type: integer
556                   value:
557                     type: string
558             version:
559               type: string
560           required:
561           - bootstrapServers