k3s/plugin/cmd/kube-scheduler/app
Kubernetes Submit Queue a121d1c674 Merge pull request #44404 from bsalamat/config_fix
Automatic merge from submit-queue

Scheduler configurator looks for a specific key in ConfigMap.Data

**What this PR does / why we need it**: Changes scheduler configurator to look for a specific key in ConfigMap.Data instead of the old logic which expected only one entry to exist in the map. The key is a constant whose value is "policy.cfg".

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-04-21 19:50:08 -07:00
..
options Merge pull request #44404 from bsalamat/config_fix 2017-04-21 19:50:08 -07:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
configurator.go Change scheduler configurator to look for a specific key in ConfigMap.Data 2017-04-13 23:50:39 -07:00
configurator_test.go Configurator refactoring for scheduler server 2017-02-02 15:39:18 -05:00
server.go Scheduler can recieve its policy configuration from a ConfigMap 2017-04-07 17:03:12 -07:00