Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / operator / charts / collectd-operator / templates / onap_v1alpha1_collectdplugin_crd.yaml
1 {{- if .Values.enabled }}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: collectdplugins.onap.org
6   labels:
7     app: {{ template "collectd-operator.name" . }}
8     chart: {{ template "collectd-operator.chart" . }}
9     component: collectdplugins.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: CollectdPlugin
19     listKind: CollectdPluginList
20     plural: collectdplugins
21     singular: collectdplugin
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             pluginConf:
43               type: string
44             pluginName:
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           - pluginName
52           - pluginConf
53           type: object
54         status:
55           properties:
56             collectdAgents:
57               description: CollectdAgents are the collectd pods in the Daemonset Status
58                 can be one of "", Created, Deleting, Applied, Deprecated
59               items:
60                 type: string
61               type: array
62             status:
63               type: string
64           required:
65           - status
66           type: object
67   version: v1alpha1
68   versions:
69   - name: v1alpha1
70     served: true
71     storage: true
72 {{- end }}