# Source: https://raw.githubusercontent.com/arangodb/kube-arangodb/refs/tags/{version}/chart/kube-arangodb/crds/backups-backuppolicy.yaml
# Version: 1.3.0
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: arangobackuppolicies.backup.arangodb.com
spec:
  group: backup.arangodb.com
  names:
    kind: ArangoBackupPolicy
    listKind: ArangoBackupPolicyList
    plural: arangobackuppolicies
    shortNames:
      - arangobackuppolicy
      - arangobp
    singular: arangobackuppolicy
  scope: Namespaced
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          type: object
          x-kubernetes-preserve-unknown-fields: true
      served: true
      storage: true
      additionalPrinterColumns:
        - jsonPath: .spec.schedule
          description: Schedule
          name: Schedule
          type: string
        - jsonPath: .status.scheduled
          description: Scheduled
          name: Scheduled
          type: string
        - jsonPath: .status.message
          priority: 1
          description: Message of the ArangoBackupPolicy object
          name: Message
          type: string
      subresources:
        status: {}
    - name: v1alpha
      schema:
        openAPIV3Schema:
          type: object
          x-kubernetes-preserve-unknown-fields: true
      served: false
      storage: false
      additionalPrinterColumns:
        - jsonPath: .spec.schedule
          description: Schedule
          name: Schedule
          type: string
        - jsonPath: .status.scheduled
          description: Scheduled
          name: Scheduled
          type: string
        - jsonPath: .status.message
          priority: 1
          description: Message of the ArangoBackupPolicy object
          name: Message
          type: string
      subresources:
        status: {}
