I downloaded the YAML for the images prior to losi...
# harvester
a
I downloaded the YAML for the images prior to losing the old Harvester cluster. Here's the file:
Copy code
apiVersion: harvesterhci.io/v1beta1
kind: VirtualMachineImage
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: >
      {"apiVersion":"harvesterhci.io/v1beta1","kind":"VirtualMachineImage","metadata":{"annotations":{},"name":"image-8hz6h","namespace":"default"},"spec":{"checksum":"","displayName":"jammy-server-cloudimg-amd64.img","pvcName":"","pvcNamespace":"","sourceType":"download","url":"<http://10.242.1.129:28080/jammy-server-cloudimg-amd64.img>"}}
  creationTimestamp: '2022-11-23T03:41:22Z'
  finalizers:
    - wrangler.cattle.io/vm-image-controller
  generation: 4
  labels:
    harvesterhci.io/imageDisplayName: jammy-server-cloudimg-amd64.img
  managedFields:
    - apiVersion: harvesterhci.io/v1beta1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:kubectl.kubernetes.io/last-applied-configuration: {}
        f:spec:
          .: {}
          f:checksum: {}
          f:displayName: {}
          f:pvcName: {}
          f:pvcNamespace: {}
          f:sourceType: {}
          f:url: {}
      manager: kubectl-client-side-apply
      operation: Update
      time: '2022-11-23T03:41:22Z'
    - apiVersion: harvesterhci.io/v1beta1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:finalizers:
            .: {}
            v:"wrangler.cattle.io/vm-image-controller": {}
          f:labels:
            .: {}
            f:harvesterhci.io/imageDisplayName: {}
        f:status:
          .: {}
          f:appliedUrl: {}
          f:conditions: {}
          f:progress: {}
          f:size: {}
          f:storageClassName: {}
      manager: harvester
      operation: Update
      time: '2022-12-14T14:35:13Z'
  name: image-8hz6h
  namespace: default
  resourceVersion: '29550220'
  uid: f79f6c7d-be5d-40ad-8495-5a4554dc3887
spec:
  checksum: ''
  displayName: jammy-server-cloudimg-amd64.img
  pvcName: ''
  pvcNamespace: ''
  retry: 3
  sourceType: download
  url: <http://10.242.1.129:28080/jammy-server-cloudimg-amd64.img>
status:
  appliedUrl: <http://10.242.1.129:28080/jammy-server-cloudimg-amd64.img>
  conditions:
    - lastUpdateTime: '2022-11-23T03:41:30Z'
      reason: Imported
      status: 'True'
      type: Imported
    - lastUpdateTime: '2022-11-23T03:41:22Z'
      reason: Initialized
      status: 'True'
      type: Initialized
  failed: 0
  progress: 100
  size: 625541120
  storageClassName: longhorn-image-8hz6h