github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/velero/crds/podvolumebackups.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: podvolumebackups.velero.io
    12  spec:
    13    group: velero.io
    14    names:
    15      kind: PodVolumeBackup
    16      listKind: PodVolumeBackupList
    17      plural: podvolumebackups
    18      singular: podvolumebackup
    19    scope: Namespaced
    20    versions:
    21    - additionalPrinterColumns:
    22      - description: Pod Volume Backup status such as New/InProgress
    23        jsonPath: .status.phase
    24        name: Status
    25        type: string
    26      - description: Time when this backup was started
    27        jsonPath: .status.startTimestamp
    28        name: Created
    29        type: date
    30      - description: Namespace of the pod containing the volume to be backed up
    31        jsonPath: .spec.pod.namespace
    32        name: Namespace
    33        type: string
    34      - description: Name of the pod containing the volume to be backed up
    35        jsonPath: .spec.pod.name
    36        name: Pod
    37        type: string
    38      - description: Name of the volume to be backed up
    39        jsonPath: .spec.volume
    40        name: Volume
    41        type: string
    42      - description: Restic repository identifier for this backup
    43        jsonPath: .spec.repoIdentifier
    44        name: Restic Repo
    45        type: string
    46      - description: Name of the Backup Storage Location where this backup should be
    47          stored
    48        jsonPath: .spec.backupStorageLocation
    49        name: Storage Location
    50        type: string
    51      - jsonPath: .metadata.creationTimestamp
    52        name: Age
    53        type: date
    54      name: v1
    55      schema:
    56        openAPIV3Schema:
    57          properties:
    58            apiVersion:
    59              description: 'APIVersion defines the versioned schema of this representation
    60                of an object. Servers should convert recognized schemas to the latest
    61                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    62              type: string
    63            kind:
    64              description: 'Kind is a string value representing the REST resource this
    65                object represents. Servers may infer this from the endpoint the client
    66                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    67              type: string
    68            metadata:
    69              type: object
    70            spec:
    71              description: PodVolumeBackupSpec is the specification for a PodVolumeBackup.
    72              properties:
    73                backupStorageLocation:
    74                  description: BackupStorageLocation is the name of the backup storage
    75                    location where the restic repository is stored.
    76                  type: string
    77                node:
    78                  description: Node is the name of the node that the Pod is running
    79                    on.
    80                  type: string
    81                pod:
    82                  description: Pod is a reference to the pod containing the volume to
    83                    be backed up.
    84                  properties:
    85                    apiVersion:
    86                      description: API version of the referent.
    87                      type: string
    88                    fieldPath:
    89                      description: 'If referring to a piece of an object instead of
    90                        an entire object, this string should contain a valid JSON/Go
    91                        field access statement, such as desiredState.manifest.containers[2].
    92                        For example, if the object reference is to a container within
    93                        a pod, this would take on a value like: "spec.containers{name}"
    94                        (where "name" refers to the name of the container that triggered
    95                        the event) or if no container name is specified "spec.containers[2]"
    96                        (container with index 2 in this pod). This syntax is chosen
    97                        only to have some well-defined way of referencing a part of
    98                        an object. TODO: this design is not final and this field is
    99                        subject to change in the future.'
   100                      type: string
   101                    kind:
   102                      description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   103                      type: string
   104                    name:
   105                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   106                      type: string
   107                    namespace:
   108                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   109                      type: string
   110                    resourceVersion:
   111                      description: 'Specific resourceVersion to which this reference
   112                        is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
   113                      type: string
   114                    uid:
   115                      description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
   116                      type: string
   117                  type: object
   118                repoIdentifier:
   119                  description: RepoIdentifier is the restic repository identifier.
   120                  type: string
   121                tags:
   122                  additionalProperties:
   123                    type: string
   124                  description: Tags are a map of key-value pairs that should be applied
   125                    to the volume backup as tags.
   126                  type: object
   127                volume:
   128                  description: Volume is the name of the volume within the Pod to be
   129                    backed up.
   130                  type: string
   131              required:
   132              - backupStorageLocation
   133              - node
   134              - pod
   135              - repoIdentifier
   136              - volume
   137              type: object
   138            status:
   139              description: PodVolumeBackupStatus is the current status of a PodVolumeBackup.
   140              properties:
   141                completionTimestamp:
   142                  description: CompletionTimestamp records the time a backup was completed.
   143                    Completion time is recorded even on failed backups. Completion time
   144                    is recorded before uploading the backup object. The server's time
   145                    is used for CompletionTimestamps
   146                  format: date-time
   147                  nullable: true
   148                  type: string
   149                message:
   150                  description: Message is a message about the pod volume backup's status.
   151                  type: string
   152                path:
   153                  description: Path is the full path within the controller pod being
   154                    backed up.
   155                  type: string
   156                phase:
   157                  description: Phase is the current state of the PodVolumeBackup.
   158                  enum:
   159                  - New
   160                  - InProgress
   161                  - Completed
   162                  - Failed
   163                  type: string
   164                progress:
   165                  description: Progress holds the total number of bytes of the volume
   166                    and the current number of backed up bytes. This can be used to display
   167                    progress information about the backup operation.
   168                  properties:
   169                    bytesDone:
   170                      format: int64
   171                      type: integer
   172                    totalBytes:
   173                      format: int64
   174                      type: integer
   175                  type: object
   176                snapshotID:
   177                  description: SnapshotID is the identifier for the snapshot of the
   178                    pod volume.
   179                  type: string
   180                startTimestamp:
   181                  description: StartTimestamp records the time a backup was started.
   182                    Separate from CreationTimestamp, since that value changes on restores.
   183                    The server's time is used for StartTimestamps
   184                  format: date-time
   185                  nullable: true
   186                  type: string
   187              type: object
   188          type: object
   189      served: true
   190      storage: true
   191      subresources: {}
   192  status:
   193    acceptedNames:
   194      kind: ""
   195      plural: ""
   196    conditions: []
   197    storedVersions: []