-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
switch to upstream controller roles and init functions where easily possible #14126
Conversation
[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
} | ||
controllerInitializers := kctrlmgr.NewControllerInitializers() | ||
|
||
// TODO I think this should become a blacklist kept in sync during rebases with a unit test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can work on a followup up for that, if you want me to.
[merge] This is on the path to allowing bug fix #13996 |
ansible re[merge] |
Flake #14161 |
[merge] |
[test] |
re[test] re[merge] |
Not seeing how I affected vendor/k8s.io/kubernetes/pkg/controller/node.TestCancel |
Evaluated for origin test up to d0e3554 |
Evaluated for origin merge up to d0e3554 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/676/) (Base Commit: 3d82103) (Image: devenv-rhel7_6235) |
flake: #13966 [merge] |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1518/) (Base Commit: d33e176) |
@mfojtik I've tried to the keep the changes small-ish and easy to follow. There are no behavior or flow changes. This simply removes unnecessary roles and switches to upstream initialization where its zero change.
There are more changes to make that involve changes to the flow of controller init function creation. I'll save those for later.
Now that I have fewer
infra_sa_policy.go
roles to deal with, I'm going to convert them to the upstream construction style.