Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / operator / charts / visualization-operator / templates / onap_v1alpha1_grafanadatasource_crd.yaml
1 {{- if .Values.enabled }}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: grafanadatasources.onap.org
6   labels:
7     app: {{ template "visualization-operator.name" . }}
8     chart: {{ template "visualization-operator.chart" . }}
9     component: grafanadatasources.onap.org-crd
10     release: {{ .Release.Name }}
11     heritage: {{ .Release.Service }}
12 spec:
13   group: onap.org
14   names:
15     kind: GrafanaDataSource
16     listKind: GrafanaDataSourceList
17     plural: grafanadatasources
18     singular: grafanadatasource
19   scope: Namespaced
20   subresources:
21     status: {}
22   validation:
23     openAPIV3Schema:
24       properties:
25         apiVersion:
26           description: 'APIVersion defines the versioned schema of this representation
27             of an object. Servers should convert recognized schemas to the latest
28             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
29           type: string
30         kind:
31           description: 'Kind is a string value representing the REST resource this
32             object represents. Servers may infer this from the endpoint the client
33             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
34           type: string
35         metadata:
36           type: object
37         spec:
38           properties:
39             datasources:
40               items:
41                 properties:
42                   access:
43                     type: string
44                   isDefault:
45                     type: boolean
46                   name:
47                     type: string
48                   type:
49                     type: string
50                   url:
51                     type: string
52                 required:
53                 - name
54                 - type
55                 type: object
56               type: array
57             grafana:
58               additionalProperties:
59                 type: string
60               type: object
61           required:
62           - datasources
63           - grafana
64           type: object
65         status:
66           type: object
67   version: v1alpha1
68   versions:
69   - name: v1alpha1
70     served: true
71     storage: true
72 {{- end }}