blob: 568bb118c7d60e44935f53402cef7667ca15fdcb [file] [log] [blame]
# Licensed to Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Apache Software Foundation (ASF) licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: eventexporters.operator.skywalking.apache.org
spec:
group: operator.skywalking.apache.org
names:
kind: EventExporter
listKind: EventExporterList
plural: eventexporters
singular: eventexporter
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: The version
jsonPath: .spec.version
name: Version
priority: 1
type: string
- jsonPath: .spec.image
name: Image
priority: 1
type: string
- description: The number of expected instances
jsonPath: .spec.instances
name: Instances
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: EventExporter is the Schema for the eventexporters 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: EventExporterSpec defines the desired state of EventExporter
properties:
config:
description: Config of filters and exporters
type: string
image:
description: Image is the event exporter Docker image to deploy.
type: string
replicas:
description: Replicas is the number of event exporter pods
format: int32
type: integer
version:
description: Version of EventExporter.
type: string
type: object
status:
description: EventExporterStatus defines the observed state of EventExporter
properties:
availableReplicas:
description: Total number of available pods targeted by this deployment.
format: int32
type: integer
conditions:
description: Represents the latest available observations of the underlying
deployment's current state.
items:
description: DeploymentCondition describes the state of a deployment
at a certain point.
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
type: string
lastUpdateTime:
description: The last time this condition was updated.
format: date-time
type: string
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of deployment condition.
type: string
required:
- status
- type
type: object
type: array
configMapName:
description: Name of the configMap.
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}