Skip to content

dbuser: add events to db user custom resource#33

Open
varshavaradarajan wants to merge 1 commit intomainfrom
varsha/db-users-events
Open

dbuser: add events to db user custom resource#33
varshavaradarajan wants to merge 1 commit intomainfrom
varsha/db-users-events

Conversation

@varshavaradarajan
Copy link
Contributor

TODO:

  • Test event generation on a plugin enabled ccp cluster.


if len(errs) == 0 {
if updated {
r.Recorder.Event(&user, corev1.EventTypeNormal, "Updated", "database user update succeeded")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if the reason should be DBUser specific or should follow k8s conventions as much as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant