-
Notifications
You must be signed in to change notification settings - Fork 184
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
controllers: add a new controller to setup mirroring #2878
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
bc1e147
to
8b1f059
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rewantsoni The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1128536
to
4d36986
Compare
4d36986
to
e3e601b
Compare
e3e601b
to
451b704
Compare
2c252fc
to
64ce4ce
Compare
64ce4ce
to
f5d610d
Compare
Signed-off-by: Rewant Soni <[email protected]> add generated changes Signed-off-by: Rewant Soni <[email protected]>
Signed-off-by: Rewant Soni <[email protected]> add generated changes Signed-off-by: Rewant Soni <[email protected]>
Signed-off-by: Rewant Soni <[email protected]> add generated changes Signed-off-by: Rewant Soni <[email protected]>
f5d610d
to
0c6cd48
Compare
Signed-off-by: Rewant Soni <[email protected]>
0c6cd48
to
8cf94cb
Compare
|
||
if err = r.get(r.clientMappingConfig); err != nil { | ||
if k8serrors.IsNotFound(err) { | ||
r.log.Info(fmt.Sprintf("ConfigMap %s not found. Ignoring since object must be deleted.", r.clientMappingConfig.Name)) |
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.
Do not use sprintf when logging. Use key-value pairs instead.
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.
Having comments on code would definitely make it much easier for us to review it. This is such a big change and doesn't make any sense to me.
A new controller to enable mirroring for cephblockpool and radosnamespace
Depends On: