Skip to content

if nonadmin: true && only 1 nabsl in namespace use that as default. #135

@weshayutin

Description

@weshayutin

In the following situation:

nacuser1@fedora:~/git/oadp-cli$ oc oadp nonadmin backup create backup2
An error occurred: a valid NonAdminBackupStorageLocation must be provided via --storage-location, or use --force to create with admin defaults
nacuser1@fedora:~/git/oadp-cli$ oc oadp nonadmin bsl get
NAME                           REQUEST PHASE   VELERO PHASE    PROVIDER        BUCKET/PREFIX        AGE       
nacuser1                       Created         Available       aws             wesoadpnacuser1/velero 21h       
nacuser1@fedora:~/git/oadp-cli$ 

Where there is only 1 nabsl, the user should NOT be prompted for --storage-location

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions