---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: null
  name: tidbinitializers.pingcap.com
spec:
  additionalPrinterColumns:
  - JSONPath: .status.phase
    description: The current phase of initialization
    name: Phase
    priority: 1
    type: string
  - JSONPath: .metadata.creationTimestamp
    name: Age
    type: date
  group: pingcap.com
  names:
    kind: TidbInitializer
    plural: tidbinitializers
    shortNames:
    - ti
  scope: Namespaced
  validation:
    openAPIV3Schema:
      properties:
        apiVersion:
          type: string
        kind:
          type: string
        spec:
          properties:
            cluster:
              properties:
                name:
                  type: string
                namespace:
                  type: string
              required:
              - name
              type: object
            image:
              type: string
            imagePullPolicy:
              type: string
            imagePullSecrets:
              items:
                properties:
                  name:
                    type: string
                type: object
              type: array
            initSql:
              type: string
            initSqlConfigMap:
              type: string
            passwordSecret:
              type: string
            permitHost:
              type: string
            resources:
              properties:
                limits:
                  type: object
                requests:
                  type: object
              type: object
            timezone:
              type: string
            tlsClientSecretName:
              type: string
          required:
          - image
          - cluster
          type: object
      type: object
  version: v1alpha1
