Refactor Distributed Analytics project structure
[demo.git] / vnfs / DAaaS / microservices / collectd-operator / deploy / crds / onap_v1alpha1_collectdplugin_crd.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: collectdplugins.onap.org
5 spec:
6   group: onap.org
7   names:
8     kind: CollectdPlugin
9     listKind: CollectdPluginList
10     plural: collectdplugins
11     singular: collectdplugin
12   scope: Namespaced
13   subresources:
14     status: {}
15   validation:
16     openAPIV3Schema:
17       properties:
18         apiVersion:
19           description: 'APIVersion defines the versioned schema of this representation
20             of an object. Servers should convert recognized schemas to the latest
21             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
22           type: string
23         kind:
24           description: 'Kind is a string value representing the REST resource this
25             object represents. Servers may infer this from the endpoint the client
26             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
27           type: string
28         metadata:
29           type: object
30         spec:
31           properties:
32             pluginConf:
33               type: string
34             pluginName:
35               description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
36                 Important: Run "operator-sdk generate k8s" to regenerate code after
37                 modifying this file Add custom validation using kubebuilder tags:
38                 https://book.kubebuilder.io/beyond_basics/generating_crd.html'
39               type: string
40           required:
41           - pluginName
42           - pluginConf
43           type: object
44         status:
45           properties:
46             collectdAgents:
47               description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
48                 of cluster Important: Run "operator-sdk generate k8s" to regenerate
49                 code after modifying this file Add custom validation using kubebuilder
50                 tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
51                 CollectdAgents are the collectd pods in the Daemonset'
52               items:
53                 type: string
54               type: array
55             collectdConf:
56               type: object
57           required:
58           - collectdAgents
59           - collectdConf
60           type: object
61   version: v1alpha1
62   versions:
63   - name: v1alpha1
64     served: true
65     storage: true