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

add support for velero restore spec options

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • ACM 2.12.0
    • Business Continuity

       With the ACM restore resource you can use at the moment the following velero restore options

       

      We want to add support for other options such as include/exclude by labelSelector, orLabelSelectors, namespaceMapping, includeResources, includeNamespaces

       
      // velero option - RestorePVs specifies whether to restore all included
      // PVs from snapshot (via the cloudprovider).
      // +optional
      // +nullable
      RestorePVs*bool`json:"restorePVs,omitempty"`

      // velero option - RestoreStatus specifies which resources we should restore the status
      // field. If nil, no objects are included. Optional.
      // +optional
      // +nullable
      RestoreStatus*veleroapi.RestoreStatusSpec`json:"restoreStatus,omitempty"`

      // velero option - PreserveNodePorts specifies whether to restore old nodePorts from backup.
      // +optional
      // +nullable
      PreserveNodePorts*bool`json:"preserveNodePorts,omitempty"`

      // velero option - Hooks represent custom behaviors that should be executed during or post restore.
      // +optional
      Hooksveleroapi.RestoreHooks`json:"hooks,omitempty"`

      // ExcludedNamespaces contains a list of namespaces that are not
      // included in the restore.
      // +optional
      // +nullable
      ExcludedNamespaces []string`json:"excludedNamespaces,omitempty"`

      // ExcludedResources is a slice of resource names that are not
      // included in the restore.
      // +optional
      // +nullable
      ExcludedResources []string`json:"excludedResources,omitempty"`

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

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 4 days
                  4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified