github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/cdi.kubevirt.io/DataVolume/testdata/degraded_badurl.yaml (about)

     1  apiVersion: cdi.kubevirt.io/v1beta1
     2  kind: DataVolume
     3  metadata:
     4    creationTimestamp: "2021-10-25T22:23:10Z"
     5    generation: 14
     6    name: example-badimport-dv
     7    namespace: default
     8    resourceVersion: "44636962"
     9    uid: 8d55b149-d418-47d6-b60b-48d823142418
    10  spec:
    11    pvc:
    12      accessModes:
    13      - ReadWriteOnce
    14      resources:
    15        requests:
    16          storage: 1Gi
    17    source:
    18      http:
    19        url: https://download.fedoraproject.org/pub/no-such-image.xz
    20  status:
    21    conditions:
    22    - lastHeartbeatTime: "2021-10-25T22:23:15Z"
    23      lastTransitionTime: "2021-10-25T22:23:15Z"
    24      message: PVC example-badimport-dv Bound
    25      reason: Bound
    26      status: "True"
    27      type: Bound
    28    - lastHeartbeatTime: "2021-10-25T22:23:47Z"
    29      lastTransitionTime: "2021-10-25T22:23:10Z"
    30      status: "False"
    31      type: Ready
    32    - lastHeartbeatTime: "2021-10-25T22:23:47Z"
    33      lastTransitionTime: "2021-10-25T22:23:47Z"
    34      message: 'Unable to connect to http data source: expected status code 200, got
    35        404. Status: 404 Not Found'
    36      reason: Error
    37      status: "False"
    38      type: Running
    39    phase: ImportInProgress
    40    progress: N/A
    41    restartCount: 2