You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog.Errorf("Fail to reconcile %s/%s: %v", instance.Namespace, instance.Name, err)
125
131
return ctrl.Result{}, err
126
132
}
127
133
134
+
// Create Event if there is no update in OperandConfig after applying current CR
135
+
ifisEqual {
136
+
r.Recorder.Event(instance, corev1.EventTypeNormal, "Noeffect", fmt.Sprintf("No update, resource sizings in the OperandConfig %s/%s are larger than the profile from CommonService CR %s/%s", r.Bootstrap.MasterNamespace, "common-service", instance.Namespace, instance.Name))
klog.Errorf("Fail to reconcile %s/%s: %v", instance.Namespace, instance.Name, err)
186
198
return ctrl.Result{}, err
187
199
}
188
200
201
+
// Create Event if there is no update in OperandConfig after applying current CR
202
+
ifisEqual {
203
+
r.Recorder.Event(instance, corev1.EventTypeNormal, "Noeffect", fmt.Sprintf("No update, resource sizings in the OperandConfig %s/%s are larger than the profile from CommonService CR %s/%s", r.Bootstrap.MasterNamespace, "common-service", instance.Namespace, instance.Name))
0 commit comments