Last active
January 8, 2020 16:35
-
-
Save jotak/e335ecc6b19229b1920c55897195d1a4 to your computer and use it in GitHub Desktop.
Monitoring dashboards new CRD
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
--- | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: monitoringdashboards.monitoring.kiali.io | |
labels: | |
app: kiali | |
version: ${OPERATOR_VERSION_LABEL} | |
spec: | |
group: monitoring.kiali.io | |
names: | |
kind: MonitoringDashboard | |
listKind: MonitoringDashboardList | |
plural: monitoringdashboards | |
singular: monitoringdashboard | |
scope: Namespaced | |
versions: | |
- name: v1alpha1 | |
served: true | |
storage: true | |
schema: | |
openAPIV3Schema: | |
type: object | |
properties: | |
spec: | |
type: object | |
properties: | |
runtime: | |
type: string | |
title: | |
type: string | |
discoverOn: | |
type: string | |
items: | |
type: array | |
items: | |
type: object | |
properties: | |
include: | |
type: string | |
chart: | |
type: object | |
required: | |
- name | |
- spans | |
- metricName | |
properties: | |
name: | |
type: string | |
unit: | |
type: string | |
unitScale: | |
type: number | |
minimum: 0 | |
spans: | |
type: integer | |
minimum: 1 | |
maximum: 12 | |
metricName: | |
type: string | |
pattern: '^[a-zA-Z_:]([a-zA-Z0-9_:])*$' | |
dataType: | |
type: string | |
enum: [raw,rate,histogram] | |
chartType: | |
type: string | |
min: | |
type: number | |
max: | |
type: number | |
aggregator: | |
type: string | |
aggregations: | |
type: array | |
items: | |
type: object | |
required: | |
- label | |
- displayName | |
properties: | |
label: | |
type: string | |
pattern: '^[a-zA-Z_]([a-zA-Z0-9_])*$' | |
displayName: | |
type: string | |
externalLinks: | |
type: array | |
items: | |
type: object | |
properties: | |
type: | |
type: string | |
name: | |
type: string | |
variables: | |
type: object | |
properties: | |
namespace: | |
type: string | |
app: | |
type: string | |
service: | |
type: string | |
version: | |
type: string | |
workload: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment