-
Notifications
You must be signed in to change notification settings - Fork 164
K8SPSMDB-1075 use controller runtime builder #1692
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
K8SPSMDB-1075 use controller runtime builder #1692
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
….com:percona/percona-server-mongodb-operator into K8SPSMDB-1075_use_controller_runtime_builder
pkg/controller/perconaservermongodbrestore/perconaservermongodbrestore_controller.go
Outdated
Show resolved
Hide resolved
….com:percona/percona-server-mongodb-operator into K8SPSMDB-1075_use_controller_runtime_builder
…backup_controller.go Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| "github.com/percona/percona-backup-mongodb/pbm/storage/azure" | ||
| "github.com/percona/percona-backup-mongodb/pbm/storage/s3" | ||
|
|
||
| "github.com/percona/percona-server-mongodb-operator/clientcmd" |
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.
[goimports-reviser] reported by reviewdog 🐶
| "github.com/percona/percona-server-mongodb-operator/clientcmd" | |
| "github.com/percona/percona-server-mongodb-operator/clientcmd" |
| // TODO: Remove after 1.15 | ||
| if cluster.CompareVersion("1.12.0") >= 0 && cr.Spec.ClusterName == "" { | ||
| cr.Spec.ClusterName = cr.Spec.PSMDBCluster | ||
| cr.Spec.PSMDBCluster = "" | ||
| err = r.client.Update(ctx, cr) | ||
| if err != nil { | ||
| return rr, errors.Wrap(err, "failed to update clusterName") | ||
| } | ||
| } |
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.
please sync with @fiowro for release notes, we need to mention this field is deprecated
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.
yep, sure
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.
@fiowro we need to add to docs, that this field was deleted.
commit: 45ff87f |
CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Use controller runtime builder to configure controllers
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability