Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7411

Support wildcards for namespace backup

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • oadp
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Support for wildcards is requested when performing backup operations in namespaces. 
      This RFE is intended to avoid having to update the backup object every time a new namespace is created.
       
      There is an open isssue upstream for this. 

       

      Here is an example of what we need,

      1. velero backup create wp-airflow-helm --include-namespaces "*-helm"

      Expected result:

       Backup created for just that specific namespaces that matched regex

      Actual result:

      time="2019-09-12T19:10:26Z" level=error msg="Error getting namespace" backup=velero/wp-airflow-helm2 error="namespaces \"-helm\" not found" error.file="/go/src/github.com/heptio/velero/pkg/backup/resource_backupper.go:186" error.function="github.com/heptio/velero/pkg/backup.(*defaultResourceBackupper).backupResource" group=v1 logSource="pkg/backup/resource_backupper.go:186" namespace="-helm" resource=namespaces

       

              Unassigned Unassigned
              rhn-support-mangarci Manrique García
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                None
                None