Skip to content

Conversation

Joeavaikath
Copy link
Contributor

Adds nonadmin restore functionality to oadp-cli

@Joeavaikath Joeavaikath requested a review from kaovilai August 18, 2025 16:28
}

// createFilteredVeleroOutput creates a Velero-style output with non-admin field restrictions applied
func createFilteredVeleroOutput(veleroBackup *velerov1.Backup, nab *nacv1alpha1.NonAdminBackup) string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This func is pretty long. Do you think you can factor out into several functions for each section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored into multiple funcs

@Joeavaikath Joeavaikath mentioned this pull request Aug 20, 2025
@Joeavaikath
Copy link
Contributor Author

The NonAdminRestore --details option fails because it tries to fetch the restore from the admin namespace

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.

3 participants