github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/astra.netapp.io/ResticVolumeBackup/testdata/degraded.yaml (about)

     1  apiVersion: astra.netapp.io/v1
     2  kind: ResticVolumeBackup
     3  metadata:
     4    annotations:
     5      astra.netapp.io/correlationid: 26d34f64-38cc-4775-881d-a2fa12437f4b
     6    creationTimestamp: "2024-04-17T13:50:44Z"
     7    deletionGracePeriodSeconds: 0
     8    deletionTimestamp: "2024-04-17T14:51:28Z"
     9    finalizers:
    10      - astra.netapp.io/finalizer
    11    generation: 2
    12    name: backup-8f2ae7bd-82fc-4b4f-a22d-d08edc2e4e27-vs-54c8ec7f-42e8-48aa-b347-d4acab7b877b
    13    namespace: astra-connector
    14    ownerReferences:
    15      - apiVersion: astra.netapp.io/v1
    16        blockOwnerDeletion: true
    17        controller: true
    18        kind: Backup
    19        name: hourly-acde9-20240417135000
    20        uid: 8f2ae7bd-82fc-4b4f-a22d-d08edc2e4e27
    21    resourceVersion: "4675672"
    22    uid: ba90a4f7-a68f-4978-bc04-86902281adc2
    23  spec:
    24    clonePVC:
    25      metadata: {}
    26      spec:
    27        accessModes:
    28          - ReadWriteMany
    29        resources:
    30          requests:
    31            storage: 100Gi
    32        storageClassName: netapp-cvs-perf-premium
    33    dataSourceRef:
    34      apiGroup: snapshot.storage.k8s.io
    35      kind: VolumeSnapshot
    36      name: backup-8f2ae7bd-82fc-4b4f-a22d-d08edc2e4e27-vs-54c8ec7f-42e8-48aa-b347-d4acab7b877b
    37    resticEnv:
    38      - name: GOOGLE_PROJECT_ID
    39      - name: GOOGLE_APPLICATION_CREDENTIALS
    40        value: /var/run/secrets/neptune/astra-gcp-backup-743cfd150129-5rdt4/credentials.json
    41      - name: RESTIC_PASSWORD
    42        value: password
    43    resticRepository: gs:astra-gcp-backup-743cfd150129://ghost_0af10ee8-772b-4367-8334-44f9e4ad2849/restic/ghost/ghost_b9ff9e05-5049-4862-82c6-dea080c2fe0d
    44    resticVolumeMounts:
    45      - mount:
    46          mountPath: /var/run/secrets/neptune/astra-gcp-backup-743cfd150129-5rdt4
    47          name: secret-astra-gcp-backup-743cfd150129-5rdt4
    48          readOnly: true
    49        source:
    50          items:
    51            - key: credentials.json
    52              path: credentials.json
    53          secretName: astra-gcp-backup-743cfd150129-5rdt4
    54  status:
    55    clonePVCName: restic-volume-backup-ba90a4f7-a68f-4978-bc04-86902281adc2
    56    clonePVName: ""
    57    conditions:
    58      - lastTransitionTime: "2024-04-17T13:50:44Z"
    59        message: Successfully reconciled
    60        reason: Done
    61        status: "True"
    62        type: SourcePVCExists
    63      - lastTransitionTime: "2024-04-17T13:50:44Z"
    64        message: Successfully reconciled
    65        reason: Done
    66        status: "True"
    67        type: ResticJobCreated
    68      - lastTransitionTime: "2024-04-17T13:50:44Z"
    69        message:
    70          "restic job restic-volume-backup-ba90a4f7-a68f-4978-bc04-86902281adc2
    71          failed: permanent error"
    72        reason: Failed
    73        status: "False"
    74        type: ResticJobCompleted
    75      - lastTransitionTime: "2024-04-17T13:50:44Z"
    76        message: Not yet reconciled
    77        reason: Pending
    78        status: Unknown
    79        type: ResticJobCleanedUp
    80      - lastTransitionTime: "2024-04-17T13:50:44Z"
    81        message: Not yet reconciled
    82        reason: Pending
    83        status: Unknown
    84        type: TemporaryPVCCloneCleanedUp
    85      - lastTransitionTime: "2024-04-17T13:50:44Z"
    86        message: Not yet reconciled
    87        reason: Pending
    88        status: Unknown
    89        type: TemporaryPVCloneCleanedUp
    90      - lastTransitionTime: "2024-04-17T13:50:44Z"
    91        message: Not yet reconciled
    92        reason: Pending
    93        status: Unknown
    94        type: Completed
    95    error:
    96      "restic job restic-volume-backup-ba90a4f7-a68f-4978-bc04-86902281adc2 failed:
    97      permanent error"
    98    resticJobName: restic-volume-backup-ba90a4f7-a68f-4978-bc04-86902281adc2
    99    state: Failed