github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/velero/crds/downloadrequests.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    labels:
     7      component: velero
     8    annotations:
     9      controller-gen.kubebuilder.io/version: v0.7.0
    10    creationTimestamp: null
    11    name: downloadrequests.velero.io
    12  spec:
    13    group: velero.io
    14    names:
    15      kind: DownloadRequest
    16      listKind: DownloadRequestList
    17      plural: downloadrequests
    18      singular: downloadrequest
    19    scope: Namespaced
    20    versions:
    21    - name: v1
    22      schema:
    23        openAPIV3Schema:
    24          description: DownloadRequest is a request to download an artifact from backup
    25            object storage, such as a backup log file.
    26          properties:
    27            apiVersion:
    28              description: 'APIVersion defines the versioned schema of this representation
    29                of an object. Servers should convert recognized schemas to the latest
    30                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    31              type: string
    32            kind:
    33              description: 'Kind is a string value representing the REST resource this
    34                object represents. Servers may infer this from the endpoint the client
    35                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    36              type: string
    37            metadata:
    38              type: object
    39            spec:
    40              description: DownloadRequestSpec is the specification for a download request.
    41              properties:
    42                target:
    43                  description: Target is what to download (e.g. logs for a backup).
    44                  properties:
    45                    kind:
    46                      description: Kind is the type of file to download.
    47                      enum:
    48                      - BackupLog
    49                      - BackupContents
    50                      - BackupVolumeSnapshots
    51                      - BackupItemSnapshots
    52                      - BackupResourceList
    53                      - RestoreLog
    54                      - RestoreResults
    55                      type: string
    56                    name:
    57                      description: Name is the name of the kubernetes resource with
    58                        which the file is associated.
    59                      type: string
    60                  required:
    61                  - kind
    62                  - name
    63                  type: object
    64              required:
    65              - target
    66              type: object
    67            status:
    68              description: DownloadRequestStatus is the current status of a DownloadRequest.
    69              properties:
    70                downloadURL:
    71                  description: DownloadURL contains the pre-signed URL for the target
    72                    file.
    73                  type: string
    74                expiration:
    75                  description: Expiration is when this DownloadRequest expires and can
    76                    be deleted by the system.
    77                  format: date-time
    78                  nullable: true
    79                  type: string
    80                phase:
    81                  description: Phase is the current state of the DownloadRequest.
    82                  enum:
    83                  - New
    84                  - Processed
    85                  type: string
    86              type: object
    87          type: object
    88      served: true
    89      storage: true
    90  status:
    91    acceptedNames:
    92      kind: ""
    93      plural: ""
    94    conditions: []
    95    storedVersions: []