-
Notifications
You must be signed in to change notification settings - Fork 30
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
🐛 Fix setting folder S3 on etcd backups #549
🐛 Fix setting folder S3 on etcd backups #549
Conversation
13c5bb4
to
8b543cb
Compare
@furkatgofurov7 will the revert cause a regression? AFAIK #264 addressed a bug we saw when testing etcd restore POC |
8b543cb
to
32c596a
Compare
Signed-off-by: Furkat Gofurov <[email protected]>
32c596a
to
54c9eec
Compare
rke2ServerConfig.EtcdS3SkipSslVerify = !opts.ServerConfig.Etcd.BackupConfig.S3.EnforceSSLVerify | ||
} else { | ||
rke2ServerConfig.EtcdSnapshotDir = opts.ServerConfig.Etcd.BackupConfig.Directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexander-demicev @Danil-Grigorev thanks for reviews, PTAL once again. I updated the code so that EtcdSnapshotDir
(local snapshot dir) set to S3.Folder
logic is removed and it being set inside else condition is moved out of it, since the condition is redundant here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the changes. Was a bit worried about revert bit as well.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #499
Reverts: 261395eSpecial notes for your reviewer:
Checklist: