Skip to content
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

Add creating event recorder for controller in creating resource #69

Merged
merged 1 commit into from
Apr 13, 2018

Conversation

fanzhangio
Copy link

  • Modified resourceControllerTemplate by adding

    1. "k8s.io/client-go/tools/record"
    2. event recorder field in Conroller struct
    3. initializing event recorder in ProvideController
  • Todo : Need some more tests.

Issue #53

- Modified resourceControllerTemplate by adding
  1) "k8s.io/client-go/tools/record"
  2) event recorder field in Conroller struct
  3) initializing event recorder in ProvideController
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 13, 2018
@pwittrock pwittrock merged commit f8f1d46 into kubernetes-sigs:master Apr 13, 2018
@pwittrock
Copy link
Contributor

LGTM. As a follow up we need to figure out some way of testing these tools.

@fanzhangio fanzhangio deleted the issue53 branch May 23, 2018 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants