Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the ability to configure resource sets to resources.cattle.io.backup #13525

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codyrancher
Copy link
Contributor

@codyrancher codyrancher commented Feb 27, 2025

Summary

Adding the ability to configure resource sets to resources.cattle.io.backup

Fixes: #12997

Areas or cases that should be tested

You'll need to install the Rancher Backup app first.

  • The resources.cattle.io.backup edit/detail page.
  • You should test the backup page while creating and deleting the resources.cattle.io.resourceset. To create I just cloned the existing and changed the name field in the yaml.

Areas which could experience regressions

  • Same as above

Screenshot/Video

resource-set.mp4

Forgot to include deleting the selected resource in the video:
image

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@codyrancher codyrancher added this to the v2.11.0 milestone Feb 27, 2025
@codyrancher codyrancher marked this pull request as ready for review February 27, 2025 08:42
enableEncryptionWarning: 'Enabling encryption is highly recommended when using <b><i>Full Rancher backup resource set</i></b>, otherwise sensitive information will be backed up as plain-text. <a target="_blank" rel="noopener noreferrer nofollow" href="https://ranchermanager.docs.rancher.com/reference-guides/backup-restore-configuration/backup-configuration#resourcesets">Read more</a>.'
missingResourceSetWarning: The <b><i>{resourceSet}</i></b> resource set doesn't exist, it's possible it has been deleted. Please select a different option.
resourceSetOptions:
'rancher-resource-set': 'Default Rancher backup resource set'
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be rancher-resource-set-basic - suggest we change the label to 'Basic Rancher backup restore set`

@nwmac
Copy link
Member

nwmac commented Feb 27, 2025

This looks good - tested it and changes are great.

Once change needed - my mistake reading the requirements - the basic set should be rancher-resource-set-basic.

rancher-resource-set is the old resource set that is deprecated.

I added a comment for this change.

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.

[RFE] Update UI to allow choosing a ResourceSet on Backup creation
2 participants