---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.8.0
  creationTimestamp: null
  name: endpointservices.observability.pingcap.com
spec:
  group: observability.pingcap.com
  names:
    kind: EndpointService
    listKind: EndpointServiceList
    plural: endpointservices
    singular: endpointservice
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: EndPointService is the Schema for the endPointServices 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: EndpointServiceSpec defines the desired state of EndpointService
            properties:
              endpointServiceID:
                description: EndpointServiceId will used to choose exist aws resource
                type: string
              serviceName:
                description: ServiceName will use service name to choose service
                type: string
              shared:
                description: Shared EndpointService will not create new Endpoint Service
                  but use exist
                type: boolean
              userARNs:
                description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
                  Important: Run "make" to regenerate code after modifying this file
                  UserARN define which users can use vpc endpoint to access this service'
                items:
                  type: string
                type: array
            required:
            - userARNs
            type: object
          status:
            description: EndpointServiceStatus defines the observed state of EndpointService
            properties:
              phase:
                description: Phase is the now status for EndpointService resource
                type: string
              serviceID:
                type: string
              serviceName:
                type: string
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
