apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: clusterscanbenchmarks.cis.cattle.io
spec:
  group: cis.cattle.io
  names:
    kind: ClusterScanBenchmark
    plural: clusterscanbenchmarks
  scope: Cluster
  versions:
  - name: v1
    served: true
    storage: true
    additionalPrinterColumns:
    - jsonPath: .spec.clusterProvider
      name: ClusterProvider
      type: string
    - jsonPath: .spec.minKubernetesVersion
      name: MinKubernetesVersion
      type: string
    - jsonPath: .spec.maxKubernetesVersion
      name: MaxKubernetesVersion
      type: string
    - jsonPath: .spec.customBenchmarkConfigMapName
      name: customBenchmarkConfigMapName
      type: string
    - jsonPath: .spec.customBenchmarkConfigMapNamespace
      name: customBenchmarkConfigMapNamespace
      type: string
    subresources:
      status: {}
    schema:
      openAPIV3Schema:
        properties:
          spec:
            properties:
              clusterProvider:
                nullable: true
                type: string
              customBenchmarkConfigMapName:
                nullable: true
                type: string
              customBenchmarkConfigMapNamespace:
                nullable: true
                type: string
              maxKubernetesVersion:
                nullable: true
                type: string
              minKubernetesVersion:
                nullable: true
                type: string
            type: object
        type: object