-
Notifications
You must be signed in to change notification settings - Fork 80
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
Policy configmap working with kube-scheduler #76
Policy configmap working with kube-scheduler #76
Conversation
@@ -146,6 +148,7 @@ func RunOperator(ctx *controllercmd.ControllerContext) error { | |||
kubeInformersClusterScoped.Start(ctx.Done()) | |||
kubeInformersNamespace.Start(ctx.Done()) | |||
kubeInformersForNamespaces.Start(ctx.Done()) | |||
configInformers.Start(ctx.Done()) |
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.
This was something I missed last time.
91fbc4e
to
02643fb
Compare
/test e2e-aws |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ravisantoshgudimetla, sjenning The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kind: Role | ||
name: system:openshift:sa-listing-configmaps | ||
subjects: | ||
- kind: ServiceAccount |
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.
The generated data is wrong. I missed two commits which is causing this PR to fail.
Note to myself: Add verify-generated bindata..
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.
/cc @sjenning
This PR adds
system:kube-scheduler
user to access configmaps inopenshift-kube-scheduler
namespace. This was not an issue before Rotate kubeconfig #62 merged but after that we have to add following roles/rolebindings./cc @sjenning
We are able to pick up configmap changes now.
I0321 23:06:23.187561 1 factory.go:1118] Creating scheduler from configuration: {{ } [{PodFitsHostPorts <nil>} {PodFitsResources <nil>} {NoDiskConflict <nil>} {NoVolumeZoneConflict <nil>} {MatchNodeSelector <nil>} {HostName <nil>}] [{LeastRequestedPriority 1 <nil>} {BalancedResourceAllocation 1 <nil>} {ServiceSpreadingPriority 1 <nil>} {EqualPriority 1 <nil>}] [] 0 false}
We can see above line in kube-scheduler logs.