File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
controllers/remotestoragenodeset Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.5.5
18
+ version : 0.5.6
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
- appVersion : " 0.5.5 "
24
+ appVersion : " 0.5.6 "
Original file line number Diff line number Diff line change @@ -163,9 +163,23 @@ func (r *Reconciler) updateRemoteStatus(
163
163
"ControllerError" ,
164
164
fmt .Sprintf ("Failed to update status: %s" , err ),
165
165
)
166
+
166
167
return Stop , ctrl.Result {RequeueAfter : DefaultRequeueDelay }, err
167
168
}
168
169
170
+ r .Recorder .Event (
171
+ remoteStorageNodeSet ,
172
+ corev1 .EventTypeNormal ,
173
+ "StatusChanged" ,
174
+ "Status updated on remote cluster" ,
175
+ )
176
+ r .RemoteRecorder .Event (
177
+ remoteStorageNodeSet ,
178
+ corev1 .EventTypeNormal ,
179
+ "StatusChanged" ,
180
+ "Status updated" ,
181
+ )
182
+
169
183
r .Log .Info ("complete step updateRemoteStatus" )
170
184
return Continue , ctrl.Result {}, nil
171
185
}
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ func (b *RemoteDatabaseNodeSetResource) UpdateRemoteResourceStatus(
218
218
Type : RemoteResourceSyncedCondition ,
219
219
Status : metav1 .ConditionTrue ,
220
220
Reason : ReasonCompleted ,
221
- Message : fmt .Sprintf ("Sucessfully synced remoteObject to resourceVersion %s" , resourceVersion ),
221
+ Message : fmt .Sprintf ("Successfully synced remoteObject to resourceVersion %s" , resourceVersion ),
222
222
})
223
223
remoteResource .State = ResourceSyncSuccess
224
224
}
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ func (b *RemoteStorageNodeSetResource) UpdateRemoteResourceStatus(
207
207
Type : RemoteResourceSyncedCondition ,
208
208
Status : metav1 .ConditionTrue ,
209
209
Reason : ReasonCompleted ,
210
- Message : fmt .Sprintf ("Sucessfully synced remoteObject to resourceVersion %s" , resourceVersion ),
210
+ Message : fmt .Sprintf ("Successfully synced remoteObject to resourceVersion %s" , resourceVersion ),
211
211
})
212
212
remoteResource .State = ResourceSyncSuccess
213
213
}
You can’t perform that action at this time.
0 commit comments