-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5886d9a
commit e438fc1
Showing
3 changed files
with
2,644 additions
and
0 deletions.
There are no files selected for viewing
183 changes: 183 additions & 0 deletions
183
config/crd/bases/monitor.kubeblocks.io_appdatasources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.1 | ||
labels: | ||
app.kubernetes.io/name: kubeblocks | ||
name: appdatasources.monitor.kubeblocks.io | ||
spec: | ||
group: monitor.kubeblocks.io | ||
names: | ||
kind: AppDataSource | ||
listKind: AppDataSourceList | ||
plural: appdatasources | ||
singular: appdatasource | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: AppDataSource is the Schema for the AppDataSources API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: AppDataSourceSpec defines the desired state of AppDataSource | ||
properties: | ||
clusterName: | ||
description: ClusterName is the cluster name of the data source | ||
type: string | ||
collectionInterval: | ||
description: CollectionInterval is the interval of the data source | ||
type: string | ||
componentName: | ||
description: ComponentName is the component name of the data source | ||
type: string | ||
containerName: | ||
description: ContainerName is the container name of the data source | ||
type: string | ||
externalLabels: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
logs: | ||
description: LogsConfig is the logs config | ||
properties: | ||
enable: | ||
type: boolean | ||
logCollector: | ||
properties: | ||
include: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
metrics: | ||
description: MetricsConfig is the metrics config | ||
properties: | ||
enable: | ||
type: boolean | ||
metricsCollector: | ||
properties: | ||
collectionInterval: | ||
type: string | ||
enabledMetrics: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
mode: | ||
description: Mode represents how the OTeld should be deployed (deployment, | ||
daemonset, statefulset or sidecar) | ||
enum: | ||
- daemonset | ||
- deployment | ||
- sidecar | ||
- statefulset | ||
type: string | ||
nodeSelector: | ||
description: NodeSelector is the node selector of the data source | ||
properties: | ||
nodeSelectorTerms: | ||
description: Required. A list of node selector terms. The terms | ||
are ORed. | ||
items: | ||
description: A null or empty node selector term matches no objects. | ||
The requirements of them are ANDed. The TopologySelectorTerm | ||
type implements a subset of the NodeSelectorTerm. | ||
properties: | ||
matchExpressions: | ||
description: A list of node selector requirements by node's | ||
labels. | ||
items: | ||
description: A node selector requirement is a selector | ||
that contains values, a key, and an operator that relates | ||
the key and values. | ||
properties: | ||
key: | ||
description: The label key that the selector applies | ||
to. | ||
type: string | ||
operator: | ||
description: Represents a key's relationship to a | ||
set of values. Valid operators are In, NotIn, Exists, | ||
DoesNotExist. Gt, and Lt. | ||
type: string | ||
values: | ||
description: An array of string values. If the operator | ||
is In or NotIn, the values array must be non-empty. | ||
If the operator is Exists or DoesNotExist, the values | ||
array must be empty. If the operator is Gt or Lt, | ||
the values array must have a single element, which | ||
will be interpreted as an integer. This array is | ||
replaced during a strategic merge patch. | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- key | ||
- operator | ||
type: object | ||
type: array | ||
matchFields: | ||
description: A list of node selector requirements by node's | ||
fields. | ||
items: | ||
description: A node selector requirement is a selector | ||
that contains values, a key, and an operator that relates | ||
the key and values. | ||
properties: | ||
key: | ||
description: The label key that the selector applies | ||
to. | ||
type: string | ||
operator: | ||
description: Represents a key's relationship to a | ||
set of values. Valid operators are In, NotIn, Exists, | ||
DoesNotExist. Gt, and Lt. | ||
type: string | ||
values: | ||
description: An array of string values. If the operator | ||
is In or NotIn, the values array must be non-empty. | ||
If the operator is Exists or DoesNotExist, the values | ||
array must be empty. If the operator is Gt or Lt, | ||
the values array must have a single element, which | ||
will be interpreted as an integer. This array is | ||
replaced during a strategic merge patch. | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- key | ||
- operator | ||
type: object | ||
type: array | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: array | ||
required: | ||
- nodeSelectorTerms | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: object | ||
status: | ||
description: AppDataSourceStatus defines the observed state of AppDataSource | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
183 changes: 183 additions & 0 deletions
183
deploy/helm/crds/monitor.kubeblocks.io_appdatasources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.1 | ||
labels: | ||
app.kubernetes.io/name: kubeblocks | ||
name: appdatasources.monitor.kubeblocks.io | ||
spec: | ||
group: monitor.kubeblocks.io | ||
names: | ||
kind: AppDataSource | ||
listKind: AppDataSourceList | ||
plural: appdatasources | ||
singular: appdatasource | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: AppDataSource is the Schema for the AppDataSources API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: AppDataSourceSpec defines the desired state of AppDataSource | ||
properties: | ||
clusterName: | ||
description: ClusterName is the cluster name of the data source | ||
type: string | ||
collectionInterval: | ||
description: CollectionInterval is the interval of the data source | ||
type: string | ||
componentName: | ||
description: ComponentName is the component name of the data source | ||
type: string | ||
containerName: | ||
description: ContainerName is the container name of the data source | ||
type: string | ||
externalLabels: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
logs: | ||
description: LogsConfig is the logs config | ||
properties: | ||
enable: | ||
type: boolean | ||
logCollector: | ||
properties: | ||
include: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
metrics: | ||
description: MetricsConfig is the metrics config | ||
properties: | ||
enable: | ||
type: boolean | ||
metricsCollector: | ||
properties: | ||
collectionInterval: | ||
type: string | ||
enabledMetrics: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
mode: | ||
description: Mode represents how the OTeld should be deployed (deployment, | ||
daemonset, statefulset or sidecar) | ||
enum: | ||
- daemonset | ||
- deployment | ||
- sidecar | ||
- statefulset | ||
type: string | ||
nodeSelector: | ||
description: NodeSelector is the node selector of the data source | ||
properties: | ||
nodeSelectorTerms: | ||
description: Required. A list of node selector terms. The terms | ||
are ORed. | ||
items: | ||
description: A null or empty node selector term matches no objects. | ||
The requirements of them are ANDed. The TopologySelectorTerm | ||
type implements a subset of the NodeSelectorTerm. | ||
properties: | ||
matchExpressions: | ||
description: A list of node selector requirements by node's | ||
labels. | ||
items: | ||
description: A node selector requirement is a selector | ||
that contains values, a key, and an operator that relates | ||
the key and values. | ||
properties: | ||
key: | ||
description: The label key that the selector applies | ||
to. | ||
type: string | ||
operator: | ||
description: Represents a key's relationship to a | ||
set of values. Valid operators are In, NotIn, Exists, | ||
DoesNotExist. Gt, and Lt. | ||
type: string | ||
values: | ||
description: An array of string values. If the operator | ||
is In or NotIn, the values array must be non-empty. | ||
If the operator is Exists or DoesNotExist, the values | ||
array must be empty. If the operator is Gt or Lt, | ||
the values array must have a single element, which | ||
will be interpreted as an integer. This array is | ||
replaced during a strategic merge patch. | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- key | ||
- operator | ||
type: object | ||
type: array | ||
matchFields: | ||
description: A list of node selector requirements by node's | ||
fields. | ||
items: | ||
description: A node selector requirement is a selector | ||
that contains values, a key, and an operator that relates | ||
the key and values. | ||
properties: | ||
key: | ||
description: The label key that the selector applies | ||
to. | ||
type: string | ||
operator: | ||
description: Represents a key's relationship to a | ||
set of values. Valid operators are In, NotIn, Exists, | ||
DoesNotExist. Gt, and Lt. | ||
type: string | ||
values: | ||
description: An array of string values. If the operator | ||
is In or NotIn, the values array must be non-empty. | ||
If the operator is Exists or DoesNotExist, the values | ||
array must be empty. If the operator is Gt or Lt, | ||
the values array must have a single element, which | ||
will be interpreted as an integer. This array is | ||
replaced during a strategic merge patch. | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- key | ||
- operator | ||
type: object | ||
type: array | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: array | ||
required: | ||
- nodeSelectorTerms | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: object | ||
status: | ||
description: AppDataSourceStatus defines the observed state of AppDataSource | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.