Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-12986

cleanup restored should ignore resources from excluded criteria

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • ACM 2.12.0
    • Business Continuity
    • None
    • 10
    • False
    • Hide

      None

      Show
      None
    • False
    • None

       Verify if resources not backed up because they are excluded using the velero.spec excluded criteria are also not cleaned up during restore

       

      Scenario:

      • create a Restore with this definition
        apiVersion: cluster.open-cluster-management.io/v1beta1
        kind: Restore
        metadata:
        name: restore-acm
        namespace: open-cluster-management-backup
        spec:
        cleanupBeforeRestore: CleanupRestored
        veleroManagedClustersBackupName: latest
        veleroCredentialsBackupName: latest
        veleroResourcesBackupName: latest
        excludedNamespace:
        • ns1*
          excludedResources:
        • myresource*
      • The cleanup option should not delete any resources from the ns1 or myresource since those are not being backed up

              vbirsan@redhat.com Valentina Birsan
              vbirsan@redhat.com Valentina Birsan
              Thuy Nguyen Thuy Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: