Merge pull request #4726 from waldman/master

Fix kubeScheduler.usePolicyConfigMap - missing namespace flag
This commit is contained in:
k8s-ci-robot 2018-03-19 20:37:00 -07:00 committed by GitHub
commit f336fccc8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ func (b *KubeSchedulerBuilder) buildPod() (*v1.Pod, error) {
flags = append(flags, "--kubeconfig="+"/var/lib/kube-scheduler/kubeconfig")
if c.UsePolicyConfigMap != nil {
flags = append(flags, "--policy-configmap=scheduler-policy")
flags = append(flags, "--policy-configmap=scheduler-policy --policy-configmap-namespace=kube-system")
}
pod := &v1.Pod{