apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: aquascanners.operator.aquasec.com
spec:
  group: operator.aquasec.com
  names:
    kind: AquaScanner
    listKind: AquaScannerList
    plural: aquascanners
    singular: aquascanner
  scope: Namespaced
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      description: AquaScanner is the Schema for the aquascanners 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: AquaScannerSpec defines the desired state of AquaScanner
          type: object
        status:
          description: AquaScannerStatus defines the observed state of AquaScanner
          type: object
      type: object
  version: v1alpha1
  additionalPrinterColumns:
    - name: Replicas
      type: integer
      description: Replicas Number
      JSONPath: .spec.deploy.replicas
    - name: Age
      type: date
      description: Aqua Scanner Age
      JSONPath: .metadata.creationTimestamp
    - name: Status
      type: string
      description: Aqua Scanner status
      JSONPath: .status.state
    - name: Nodes
      type: string
      description: List Of Nodes (Pods)
      JSONPath: .status.nodes
  versions:
  - name: v1alpha1
    served: true
    storage: true
