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

feat: improve ux on auto/manual etcd snapshots #773

Conversation

salasberryfin
Copy link
Contributor

What this PR does / why we need it:

This simply modifies the way etcd snapshot controller classifies whether snapshots are manual or automatic. As automatic snapshots are taken care of by CAPRKE2 via rke2ControlPlaneSpec.serverConfig.etcd.backupConfig, these are the resources that should be marked, which is done via annotation etcd.turtles.cattle.io/automatic-snapshot applied on snapshot creation.

When manual snapshots are supported, we can use the manual field added to the snapshot status.

Which issue(s) this PR fixes:
Fixes #728

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@salasberryfin salasberryfin added the kind/enhancement Categorizes issue or PR as related to a new feature. label Oct 7, 2024
@salasberryfin salasberryfin requested a review from a team as a code owner October 7, 2024 18:25
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
@salasberryfin salasberryfin force-pushed the etcd-snapshot-improve-ux-on-manual-field branch from 0311d32 to 195f0a2 Compare October 7, 2024 18:35
@salasberryfin salasberryfin merged commit a620e34 into rancher:main Oct 9, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make manual field in etcdsnaphot UX friendly
3 participants