Skip to content

Conversation

@tareqalayan
Copy link

Now non admin user can do:
kubectl oadp nonadmin delete backup --all (12:29:01)
All NonAdminBackup(s) in namespace 'test-nac' will be marked for deletion:

  • test-nab1
  • test-nab200

Are you sure you want to delete ALL 2 backup(s) in namespace 'test-nac'? (y/N): y ✓ test-nab1 marked for deletion
✓ test-nab200 marked for deletion

Successfully marked 2 backup(s) for deletion:

  • test-nab1
  • test-nab200

ℹ️ Note: The actual backup deletion will be performed asynchronously by the OADP controller.
This may take some time to complete. You can monitor progress with:
kubectl get nonadminbackup -n test-nac

Why the changes were made

How to test the changes made

Now non admin user can do:
kubectl oadp nonadmin delete backup --all                                                                                                                              (12:29:01)
All NonAdminBackup(s) in namespace 'test-nac' will be marked for deletion:
  - test-nab1
  - test-nab200

Are you sure you want to delete ALL 2 backup(s) in namespace 'test-nac'? (y/N): y
✓ test-nab1 marked for deletion
✓ test-nab200 marked for deletion

Successfully marked 2 backup(s) for deletion:
  - test-nab1
  - test-nab200

ℹ️  Note: The actual backup deletion will be performed asynchronously by the OADP controller.
   This may take some time to complete. You can monitor progress with:
   kubectl get nonadminbackup -n test-nac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant