Skip to content

Comments

Undo the Secrets controller sync wait.#1828

Merged
ldez merged 1 commit intotraefik:v1.3from
timoreimann:kubernetes/undo-secret-controller-sync-wait
Jul 6, 2017
Merged

Undo the Secrets controller sync wait.#1828
ldez merged 1 commit intotraefik:v1.3from
timoreimann:kubernetes/undo-secret-controller-sync-wait

Conversation

@timoreimann
Copy link
Contributor

When Secrets permissions have not been granted (which is likely to be the case for users not needing the basic auth feature), the watch on the Secrets API will never yield a response, thereby causing the controller to never sync successfully, and in turn causing the check for all controller synchronizations to fail consistently. Thus, no event will ever be handled.

Fixes #1826
Reverts a part of #1798
Verified that #1794 continues to be fixed

Reviewers and @containous/traefik: PTAL.

When Secrets permissions have not been granted (which is likely to be
the case for users not needing the basic auth feature), the watch on the
Secrets API will never yield a response, thereby causing the controller
to never sync successfully, and in turn causing the check for all
controller synchronizations to fail consistently. Thus, no event will
ever be handled.
@timoreimann timoreimann requested review from dtomcej and errm July 5, 2017 20:03
@timoreimann timoreimann changed the title [kubernetes] Undo the Secrets controller sync wait. Undo the Secrets controller sync wait. Jul 5, 2017
@ldez ldez added this to the 1.3 milestone Jul 5, 2017
Copy link
Contributor

@errm errm left a comment

Choose a reason for hiding this comment

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

LGTM...

as a longer term thing, we should try not to start the watch unless we are going to need it...

@timoreimann
Copy link
Contributor Author

@errm agreed -- I have filed #1784 a few days ago to track this effort.

Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

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

LGTM

:shipit:

@ldez ldez merged commit 4892b2b into traefik:v1.3 Jul 6, 2017
@timoreimann timoreimann deleted the kubernetes/undo-secret-controller-sync-wait branch July 9, 2017 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants