---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.5
  name: sharedpools.clusterserver.ng.tidbcloud.com
spec:
  group: clusterserver.ng.tidbcloud.com
  names:
    kind: SharedPool
    listKind: SharedPoolList
    plural: sharedpools
    shortNames:
    - sp
    singular: sharedpool
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .metadata.creationTimestamp
      name: AGE
      type: date
    name: v1
    schema:
      openAPIV3Schema:
        description: SharedPool is the Schema for the clusters 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: ClusterSpec defines the desired state of Cluster
            properties:
              internalStore:
                description: InternalStore defines the internal store settings
                nullable: true
                properties:
                  bucket:
                    type: string
                  prefixPath:
                    type: string
                  region:
                    type: string
                required:
                - bucket
                - prefixPath
                - region
                type: object
              objectStore:
                description: ObjectStore defines the object store settings
                properties:
                  bucket:
                    type: string
                  prefixPath:
                    type: string
                  region:
                    type: string
                required:
                - bucket
                - prefixPath
                - region
                type: object
              security:
                description: Security defines the security settings
                type: object
            required:
            - objectStore
            - security
            type: object
          status:
            type: object
        type: object
    served: true
    storage: true
    subresources: {}
