Collectd operator utilties
[demo.git] / vnfs / DAaaS / messaging / charts / strimzi-kafka-operator / templates / 043-Crd-kafkatopic.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: kafkatopics.kafka.strimzi.io
5   labels:
6     app: '{{ template "strimzi.name" . }}'
7     chart: '{{ template "strimzi.chart" . }}'
8     component: kafkatopics.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: KafkaTopic
20     listKind: KafkaTopicList
21     singular: kafkatopic
22     plural: kafkatopics
23     shortNames:
24     - kt
25   validation:
26     openAPIV3Schema:
27       properties:
28         spec:
29           type: object
30           properties:
31             partitions:
32               type: integer
33               minimum: 1
34             replicas:
35               type: integer
36               minimum: 1
37               maximum: 32767
38             config:
39               type: object
40             topicName:
41               type: string
42           required:
43           - partitions
44           - replicas