Collectd Global CRD
[demo.git] / vnfs / DAaaS / microservices / collectd-operator / deploy / crds / onap_v1alpha1_collectdglobal_crd.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: collectdglobals.onap.org
5 spec:
6   group: onap.org
7   names:
8     kind: CollectdGlobal
9     listKind: CollectdGlobalList
10     plural: collectdglobals
11     singular: collectdglobal
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             configMap:
33               type: string
34             globalOptions:
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           - globalOptions
42           type: object
43         status:
44           properties:
45             collectdAgents:
46               description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
47                 of cluster Important: Run "operator-sdk generate k8s" to regenerate
48                 code after modifying this file Add custom validation using kubebuilder
49                 tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
50                 CollectdAgents are the collectd pods in the Daemonset Status can be
51                 one of "", Created, Deleting, Applied, Deprecated'
52               items:
53                 type: string
54               type: array
55             status:
56               type: string
57           required:
58           - status
59           type: object
60   version: v1alpha1
61   versions:
62   - name: v1alpha1
63     served: true
64     storage: true