---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.5
    operatorframework.io/installed-alongside-54b53cff721cb66d: openshift-adp/oadp-operator.v1.5.2
    operatorframework.io/installed-alongside-aee38e6057cbc630: openshift-migration/oadp-operator.v1.5.2
  creationTimestamp: "2025-10-27T12:40:57Z"
  generation: 1
  labels:
    olm.managed: "true"
    operators.coreos.com/redhat-oadp-operator.openshift-adp: ""
    operators.coreos.com/redhat-oadp-operator.openshift-migration: ""
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:conditions:
          k:{"type":"Established"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"NamesAccepted"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
    manager: kube-apiserver
    operation: Update
    subresource: status
    time: "2025-10-27T12:40:57Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:controller-gen.kubebuilder.io/version: {}
          f:operatorframework.io/installed-alongside-54b53cff721cb66d: {}
          f:operatorframework.io/installed-alongside-aee38e6057cbc630: {}
        f:labels:
          .: {}
          f:olm.managed: {}
      f:spec:
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:scope: {}
        f:versions: {}
    manager: catalog
    operation: Update
    time: "2025-10-27T13:11:30Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:operators.coreos.com/redhat-oadp-operator.openshift-adp: {}
          f:operators.coreos.com/redhat-oadp-operator.openshift-migration: {}
    manager: olm
    operation: Update
    time: "2025-10-27T13:11:42Z"
  name: downloadrequests.velero.io
  resourceVersion: "76630"
  uid: 06abcb69-1387-49a0-a94f-88a7c23d4f09
spec:
  conversion:
    strategy: None
  group: velero.io
  names:
    kind: DownloadRequest
    listKind: DownloadRequestList
    plural: downloadrequests
    singular: downloadrequest
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: |-
          DownloadRequest is a request to download an artifact from backup object storage, such as a backup
          log file.
        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: DownloadRequestSpec is the specification for a download request.
            properties:
              target:
                description: Target is what to download (e.g. logs for a backup).
                properties:
                  kind:
                    description: Kind is the type of file to download.
                    enum:
                    - BackupLog
                    - BackupContents
                    - BackupVolumeSnapshots
                    - BackupItemOperations
                    - BackupResourceList
                    - BackupResults
                    - RestoreLog
                    - RestoreResults
                    - RestoreResourceList
                    - RestoreItemOperations
                    - CSIBackupVolumeSnapshots
                    - CSIBackupVolumeSnapshotContents
                    - BackupVolumeInfos
                    - RestoreVolumeInfo
                    type: string
                  name:
                    description: Name is the name of the Kubernetes resource with
                      which the file is associated.
                    type: string
                required:
                - kind
                - name
                type: object
            required:
            - target
            type: object
          status:
            description: DownloadRequestStatus is the current status of a DownloadRequest.
            properties:
              downloadURL:
                description: DownloadURL contains the pre-signed URL for the target
                  file.
                type: string
              expiration:
                description: Expiration is when this DownloadRequest expires and can
                  be deleted by the system.
                format: date-time
                nullable: true
                type: string
              phase:
                description: Phase is the current state of the DownloadRequest.
                enum:
                - New
                - Processed
                type: string
            type: object
        type: object
    served: true
    storage: true
status:
  acceptedNames:
    kind: DownloadRequest
    listKind: DownloadRequestList
    plural: downloadrequests
    singular: downloadrequest
  conditions:
  - lastTransitionTime: "2025-10-27T12:40:57Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2025-10-27T12:40:57Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
