Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dbuser: add events to db user custom resource#33

Open
varshavaradarajan wants to merge 1 commit into
main from
varsha/db-users-events
Open

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

Conversation

@varshavaradarajan

@varshavaradarajan varshavaradarajan commented Oct 19, 2022

Copy link
Copy Markdown
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")

@varshavaradarajan varshavaradarajan Oct 19, 2022

Copy link
Copy Markdown
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

Reviewers

@adamwg adamwg Awaiting requested review from adamwg

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /