apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    cdi.kubevirt.io/storage.populatedFor: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk
    pv.kubernetes.io/bind-completed: "yes"
    pv.kubernetes.io/bound-by-controller: "yes"
    reclaimspace.csiaddons.openshift.io/cronjob: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk-1761742107
    reclaimspace.csiaddons.openshift.io/schedule: '@weekly'
    restore.kubevirt.io/name: restore-snapshot-vm-snapshot-upgrade-a-1761741897-5416875
    volume.beta.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
    volume.kubernetes.io/storage-provisioner: openshift-storage.rbd.csi.ceph.com
  creationTimestamp: "2025-10-29T12:48:27Z"
  finalizers:
  - kubernetes.io/pvc-protection
  labels:
    app: containerized-data-importer
    app.kubernetes.io/component: storage
    app.kubernetes.io/managed-by: cdi-controller
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.19.11
    kubevirt.io/created-by: bd518a58-34f3-4128-84ed-f207d84a6eb9
    restore.kubevirt.io/source-vm-name: vm-snapshot-upgrade-a-1761741897-5416875
    restore.kubevirt.io/source-vm-namespace: test-upgrade-namespace
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:reclaimspace.csiaddons.openshift.io/cronjob: {}
    manager: csi-addons-manager
    operation: Update
    time: "2025-10-29T12:48:27Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:pv.kubernetes.io/bind-completed: {}
          f:pv.kubernetes.io/bound-by-controller: {}
          f:volume.beta.kubernetes.io/storage-provisioner: {}
          f:volume.kubernetes.io/storage-provisioner: {}
      f:spec:
        f:volumeName: {}
    manager: kube-controller-manager
    operation: Update
    time: "2025-10-29T12:48:27Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:accessModes: {}
        f:capacity:
          .: {}
          f:storage: {}
        f:phase: {}
    manager: kube-controller-manager
    operation: Update
    subresource: status
    time: "2025-10-29T12:48:27Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
          k:{"uid":"ec8d45dd-8297-48f9-aca0-be6790e4c55a"}: {}
    manager: virt-cdi-controller
    operation: Update
    time: "2025-10-29T12:48:27Z"
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:cdi.kubevirt.io/storage.populatedFor: {}
          f:reclaimspace.csiaddons.openshift.io/schedule: {}
          f:restore.kubevirt.io/name: {}
        f:labels:
          .: {}
          f:app: {}
          f:app.kubernetes.io/component: {}
          f:app.kubernetes.io/managed-by: {}
          f:app.kubernetes.io/part-of: {}
          f:app.kubernetes.io/version: {}
          f:kubevirt.io/created-by: {}
          f:restore.kubevirt.io/source-vm-name: {}
          f:restore.kubevirt.io/source-vm-namespace: {}
      f:spec:
        f:accessModes: {}
        f:dataSource: {}
        f:dataSourceRef:
          .: {}
          f:apiGroup: {}
          f:kind: {}
          f:name: {}
        f:resources:
          f:requests:
            .: {}
            f:storage: {}
        f:storageClassName: {}
        f:volumeMode: {}
    manager: virt-controller
    operation: Update
    time: "2025-10-29T12:48:27Z"
  name: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk
  namespace: test-upgrade-namespace
  ownerReferences:
  - apiVersion: cdi.kubevirt.io/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: DataVolume
    name: restore-c4b40dee-1de2-417c-af84-4446cb196954-dv-disk
    uid: ec8d45dd-8297-48f9-aca0-be6790e4c55a
  resourceVersion: "2196699"
  uid: 6db93caa-d6a4-4f23-99c7-bc4cbf34a181
spec:
  accessModes:
  - ReadWriteMany
  dataSource:
    apiGroup: snapshot.storage.k8s.io
    kind: VolumeSnapshot
    name: vmsnapshot-82839d1a-46b4-4d63-a934-8b8d587edd6c-volume-dv-disk
  dataSourceRef:
    apiGroup: snapshot.storage.k8s.io
    kind: VolumeSnapshot
    name: vmsnapshot-82839d1a-46b4-4d63-a934-8b8d587edd6c-volume-dv-disk
  resources:
    requests:
      storage: "1073741824"
  storageClassName: ocs-storagecluster-ceph-rbd-virtualization
  volumeMode: Block
  volumeName: pvc-6db93caa-d6a4-4f23-99c7-bc4cbf34a181
status:
  accessModes:
  - ReadWriteMany
  capacity:
    storage: 1Gi
  phase: Bound
