
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.4.1
  creationTimestamp: null
  name: componentsets.cloud.pingcap.com
spec:
  group: cloud.pingcap.com
  names:
    kind: ComponentSet
    listKind: ComponentSetList
    plural: componentsets
    singular: componentset
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: ComponentSet is the Schema for the componentsets 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: ComponentSetSpec defines the desired state of ComponentSet
            properties:
              versions:
                items:
                  description: ComponentSpec defines the desired state of Component
                  properties:
                    disabled:
                      type: string
                    objects:
                      items:
                        description: ComponentObject defines the objects of a component.
                        properties:
                          deletePolicy:
                            type: string
                          name:
                            type: string
                          template:
                            type: string
                        type: object
                      type: array
                    selector:
                      description: ComponentSelector defines the matching expressions
                        of the component.
                      properties:
                        clusterSelector:
                          items:
                            description: MachingExpression defines an expression for
                              matching components.
                            properties:
                              key:
                                type: string
                              operator:
                                type: string
                              value:
                                type: string
                            required:
                            - key
                            - operator
                            - value
                            type: object
                          type: array
                        networkSelector:
                          items:
                            description: MachingExpression defines an expression for
                              matching components.
                            properties:
                              key:
                                type: string
                              operator:
                                type: string
                              value:
                                type: string
                            required:
                            - key
                            - operator
                            - value
                            type: object
                          type: array
                      type: object
                    version:
                      type: string
                  required:
                  - objects
                  type: object
                type: array
            type: object
          status:
            description: ComponentSetStatus defines the observed state of ComponentSet
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
