1 {{- if .Values.enabled }}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
5 name: collectdglobals.onap.org
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 }}
13 "helm.sh/hook": crd-install
14 "helm.sh/hook-delete-policy": "before-hook-creation"
19 listKind: CollectdGlobalList
20 plural: collectdglobals
21 singular: collectdglobal
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'
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'
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'
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'