apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: aquacsps.operator.aquasec.com
spec:
  group: operator.aquasec.com
  names:
    kind: AquaCsp
    listKind: AquaCspList
    plural: aquacsps
    singular: aquacsp
  scope: Namespaced
  versions:
    - name: v1alpha1
      schema:
        openAPIV3Schema:
          x-kubernetes-preserve-unknown-fields: true
          type: object
      additionalPrinterColumns:
        - name: Age
          type: date
          description: Aqua Csp Age
          jsonPath: .metadata.creationTimestamp
        - name: Status
          type: string
          description: Aqua Csp status
          jsonPath: .status.state
      served: true
      storage: true
      subresources:
        status: {}
