apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: resourcesets.resources.cattle.io
spec:
  group: resources.cattle.io
  names:
    kind: ResourceSet
    plural: resourcesets
    singular: resourceset
  scope: Cluster
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          controllerReferences:
            items:
              properties:
                apiVersion:
                  nullable: true
                  type: string
                name:
                  nullable: true
                  type: string
                namespace:
                  nullable: true
                  type: string
                replicas:
                  type: integer
                resource:
                  nullable: true
                  type: string
              type: object
            nullable: true
            type: array
          resourceSelectors:
            items:
              properties:
                apiVersion:
                  nullable: true
                  type: string
                excludeKinds:
                  items:
                    nullable: true
                    type: string
                  nullable: true
                  type: array
                excludeResourceNameRegexp:
                  nullable: true
                  type: string
                fieldSelectors:
                  additionalProperties:
                    nullable: true
                    type: string
                  nullable: true
                  type: object
                kinds:
                  items:
                    nullable: true
                    type: string
                  nullable: true
                  type: array
                kindsRegexp:
                  nullable: true
                  type: string
                labelSelectors:
                  nullable: true
                  properties:
                    matchExpressions:
                      items:
                        properties:
                          key:
                            nullable: true
                            type: string
                          operator:
                            nullable: true
                            type: string
                          values:
                            items:
                              nullable: true
                              type: string
                            nullable: true
                            type: array
                        type: object
                      nullable: true
                      type: array
                    matchLabels:
                      additionalProperties:
                        nullable: true
                        type: string
                      nullable: true
                      type: object
                  type: object
                namespaceRegexp:
                  nullable: true
                  type: string
                namespaces:
                  items:
                    nullable: true
                    type: string
                  nullable: true
                  type: array
                resourceNameRegexp:
                  nullable: true
                  type: string
                resourceNames:
                  items:
                    nullable: true
                    type: string
                  nullable: true
                  type: array
              type: object
            nullable: true
            required:
            - apiVersion
            type: array
        required:
        - resourceSelectors
        type: object
    served: true
    storage: true
    subresources:
      status: {}
