---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.17.3
  name: o11ytidbagents.agent.observability.pingcap.com
spec:
  group: agent.observability.pingcap.com
  names:
    kind: O11yTiDBAgent
    listKind: O11yTiDBAgentList
    plural: o11ytidbagents
    singular: o11ytidbagent
  scope: Namespaced
  versions:
    - additionalPrinterColumns:
        - jsonPath: .spec.o11y.applicationId
          name: ClusterID
          type: string
        - jsonPath: .spec.o11y.projectId
          name: ProjectID
          type: string
        - jsonPath: .spec.o11y.tenantId
          name: TenantID
          type: string
        - jsonPath: .spec.kubernetesClusterName
          name: Cluster
          type: string
        - jsonPath: .status.phase
          name: Phase
          type: string
        - jsonPath: .metadata.creationTimestamp
          name: Age
          type: date
      name: v2
      schema:
        openAPIV3Schema:
          description: O11yTiDBAgent is the Schema for the o11ytidbagents API.
          type: object
          properties:
            apiVersion:
              type: string
            kind:
              type: string
            metadata:
              type: object
            spec:
              type: object
              x-kubernetes-preserve-unknown-fields: true
            status:
              type: object
              x-kubernetes-preserve-unknown-fields: true
      served: true
      storage: true
      subresources:
        status: {}
