Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / operator / charts / collectd-operator / templates / onap_v1alpha1_collectdglobal_crd.yaml
1 {{- if .Values.enabled }}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: collectdglobals.onap.org
6   labels:
7     app: {{ template "collectd-operator.name" . }}
8     chart: {{ template "collectd-operator.chart" . }}
9     component: collectdglobals.onap.org-crd
10     release: {{ .Release.Name }}
11     heritage: {{ .Release.Service }}
12   annotations:
13     "helm.sh/hook": crd-install
14     "helm.sh/hook-delete-policy": "before-hook-creation"
15 spec:
16   group: onap.org
17   names:
18     kind: CollectdGlobal
19     listKind: CollectdGlobalList
20     plural: collectdglobals
21     singular: collectdglobal
22   scope: Namespaced
23   subresources:
24     status: {}
25   validation:
26     openAPIV3Schema:
27       properties:
28         apiVersion:
29           description: 'APIVersion defines the versioned schema of this representation
30             of an object. Servers should convert recognized schemas to the latest
31             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
32           type: string
33         kind:
34           description: 'Kind is a string value representing the REST resource this
35             object represents. Servers may infer this from the endpoint the client
36             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
37           type: string
38         metadata:
39           type: object
40         spec:
41           properties:
42             configMap:
43               type: string
44             globalOptions:
45               description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
46                 Important: Run "operator-sdk generate k8s" to regenerate code after
47                 modifying this file Add custom validation using kubebuilder tags:
48                 https://book.kubebuilder.io/beyond_basics/generating_crd.html'
49               type: string
50           required:
51           - globalOptions
52           type: object
53         status:
54           properties:
55             collectdAgents:
56               description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
57                 of cluster Important: Run "operator-sdk generate k8s" to regenerate
58                 code after modifying this file Add custom validation using kubebuilder
59                 tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
60                 CollectdAgents are the collectd pods in the Daemonset Status can be
61                 one of "", Created, Deleting, Applied, Deprecated'
62               items:
63                 type: string
64               type: array
65             status:
66               type: string
67           required:
68           - status
69           type: object
70   version: v1alpha1
71   versions:
72   - name: v1alpha1
73     served: true
74     storage: true
75 {{- end }}