-
Notifications
You must be signed in to change notification settings - Fork 0
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
issue-112, k8s resource events for Zookeeper resource is implemented #354
Conversation
646ddff
to
0a5013c
Compare
# twoFactorDelete: | ||
# - email: "rostyslp@netapp.com" | ||
twoFactorDelete: | ||
- email: "rostyslp@netapp.com" |
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.
pls comment this
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.
Commented
0a5013c
to
97944f4
Compare
@@ -115,13 +114,29 @@ func (r *ZookeeperReconciler) handleCreateCluster( | |||
zook.Status.ID, err = r.API.CreateCluster(instaclustr.ZookeeperEndpoint, zook.Spec.ToInstAPI()) | |||
if err != nil { | |||
l.Error(err, "Cannot create zookeeper cluster", "spec", zook.Spec) | |||
r.EventRecorder.Eventf( | |||
zook, models.Warning, models.CreationFailed, | |||
"Cluster creation on the Instaclustr cloud is failed. Reason: %v", |
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.
You have different event messages for create cases. Standardize them and bring them to one form
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.
Done
97944f4
to
e9064c4
Compare
closes #352