---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.8.0
  creationTimestamp: null
  name: etcds.ffs.tidbcloud
spec:
  group: ffs.tidbcloud
  names:
    kind: Etcd
    listKind: EtcdList
    plural: etcds
    singular: etcd
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Etcd is the Schema for the etcds 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: EtcdSpec defines the desired state of Etcd
            properties:
              image:
                description: Image is the docker image.
                type: string
              size:
                description: Size is the expected size of the etcd cluster. The etcd-operator
                  will eventually make the size of the running cluster equal to the
                  expected size. The vaild range of the size is from 1 to 7.
                format: int32
                type: integer
              storageClassName:
                description: StorageClassName is the storage class name of the persistent
                  volume for data storage. Defaults to Kubernetes default storage
                  class.
                type: string
            required:
            - image
            - size
            type: object
          status:
            description: EtcdStatus defines the observed state of Etcd
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
