2903563c22626a67459073070cd2afd7c7910880
[demo.git] / vnfs / DAaaS / microservices / remote-config-operator / deploy / crds / onap.org_prometheusremoteendpoints_crd.yaml
1 apiVersion: apiextensions.k8s.io/v1beta1
2 kind: CustomResourceDefinition
3 metadata:
4   name: prometheusremoteendpoints.onap.org
5 spec:
6   group: onap.org
7   names:
8     kind: PrometheusRemoteEndpoint
9     listKind: PrometheusRemoteEndpointList
10     plural: prometheusremoteendpoints
11     singular: prometheusremoteendpoint
12   scope: Namespaced
13   subresources:
14     status: {}
15   validation:
16     openAPIV3Schema:
17       description: PrometheusRemoteEndpoint is the Schema for the prometheusremoteendpoints
18         API
19       properties:
20         apiVersion:
21           description: 'APIVersion defines the versioned schema of this representation
22             of an object. Servers should convert recognized schemas to the latest
23             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
24           type: string
25         kind:
26           description: 'Kind is a string value representing the REST resource this
27             object represents. Servers may infer this from the endpoint the client
28             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
29           type: string
30         metadata:
31           type: object
32         spec:
33           description: PrometheusRemoteEndpointSpec defines the desired state of PrometheusRemoteEndpoint
34           properties:
35             adapterUrl:
36               type: string
37             filterSelector:
38               description: A label selector is a label query over a set of resources.
39                 The result of matchLabels and matchExpressions are ANDed. An empty
40                 label selector matches all objects. A null label selector matches
41                 no objects.
42               properties:
43                 matchExpressions:
44                   description: matchExpressions is a list of label selector requirements.
45                     The requirements are ANDed.
46                   items:
47                     description: A label selector requirement is a selector that contains
48                       values, a key, and an operator that relates the key and values.
49                     properties:
50                       key:
51                         description: key is the label key that the selector applies
52                           to.
53                         type: string
54                       operator:
55                         description: operator represents a key's relationship to a
56                           set of values. Valid operators are In, NotIn, Exists and
57                           DoesNotExist.
58                         type: string
59                       values:
60                         description: values is an array of string values. If the operator
61                           is In or NotIn, the values array must be non-empty. If the
62                           operator is Exists or DoesNotExist, the values array must
63                           be empty. This array is replaced during a strategic merge
64                           patch.
65                         items:
66                           type: string
67                         type: array
68                     required:
69                     - key
70                     - operator
71                     type: object
72                   type: array
73                 matchLabels:
74                   additionalProperties:
75                     type: string
76                   description: matchLabels is a map of {key,value} pairs. A single
77                     {key,value} in the matchLabels map is equivalent to an element
78                     of matchExpressions, whose key field is "key", the operator is
79                     "In", and the values array contains only "value". The requirements
80                     are ANDed.
81                   type: object
82               type: object
83             kafkaConfig:
84               type: string
85             queueConfig:
86               properties:
87                 batchSendDeadline:
88                   type: string
89                 capacity:
90                   type: string
91                 maxBackoff:
92                   type: string
93                 maxRetries:
94                   type: string
95                 maxSamplesPerSend:
96                   type: string
97                 maxShards:
98                   type: string
99                 minBackoff:
100                   type: string
101                 minShards:
102                   type: string
103               type: object
104             remoteTimeout:
105               type: string
106             type:
107               type: string
108           required:
109           - adapterUrl
110           - type
111           type: object
112         status:
113           description: PrometheusRemoteEndpointStatus defines the observed state of
114             PrometheusRemoteEndpoint
115           type: object
116       type: object
117   version: v1alpha1
118   versions:
119   - name: v1alpha1
120     served: true
121     storage: true