Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

controller: use default namespace for event recorder #5

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

andrestc
Copy link
Member

@andrestc andrestc commented Oct 9, 2018

Prior to this change, we were creating a event recorder on a given
namespace. When registering events for node, the following would happen:

Unable to write event: 'can't create an event with namespace 'default'
in namespace 'kube-system'' (may retry after sleeping)

This change modifies the event recorder to be created using the default
namespace, which will allow events to be recorder on that namespace.

Prior to this change, we were creating a event recorder on a given
namespace. When registering events for node, the following would happen:

Unable to write event: 'can't create an event with namespace 'default'
in namespace 'kube-system'' (may retry after sleeping)

This change modifies the event recorder to be created using the default
namespace, which will allow events to be recorder on that namespace.
@andrestc andrestc merged commit a8ccfa0 into tsuru:master Oct 9, 2018
@andrestc andrestc deleted the recorder branch October 9, 2018 17:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants